From d3cafae6f28823aeb7535aeda960f8eaf6ee31a8 Mon Sep 17 00:00:00 2001 From: Uwe Werler Date: Mon, 29 Aug 2016 04:46:15 +0200 Subject: [PATCH] syntax higlighting and typo --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dedf30a..ced948f 100644 --- a/README.md +++ b/README.md @@ -13,24 +13,24 @@ own session. For simple testing simply run "sh ~/.tmux/SSH.sh -c targethost". Without arguments it starts a session without ssh and attaches a xterm to it. It can be configured via a shell alias like this: - +``` alias ssh="sh ~/.tmux/SSH.sh -c" - +``` I wrote and tested this under OpenBSD's ksh. I guess bash should work too but not tested yet. As a lucky OpenBSD user I also use cwm as my preferred window manager. This script can be used with cwm's wonderful "ssh to" dialog too by placing the -following to You .cwmrc: - +following to Your .cwmrc: +``` command term 'ksh -c ". ~/.tmux/SSH.sh -c $1"' bind CM-Return xterm - # if autogroup preferred + # ...and if autogroup is preferred autogroup 1 "SSH,XTerm" - +``` If You have xdotool installed it also focusses the xterm which is attached to the session or spawns a new term and reattaches to an existing session.