This commit is contained in:
Uwe Werler 2016-08-28 21:05:05 +02:00
commit 68e175edbb

View File

@ -23,8 +23,13 @@ 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 script can be used with cwm's wonderful "ssh to" dialog too by placing the
following to You .cwmrc: following to You .cwmrc:
command term 'ksh -c ". ~/.tmux/SSH.sh -c $1"' bind CM-Return xterm #...and command term 'ksh -c ". ~/.tmux/SSH.sh -c $1"'
if autogroup preferred autogroup 1 "SSH,XTerm"
bind CM-Return xterm
# if autogroup preferred
autogroup 1 "SSH,XTerm"
If You have xdotool installed it also focusses the xterm which is attached to 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. the session or spawns a new term and reattaches to an existing session.