unique name for tmuxssh

This commit is contained in:
ville rantanen
2014-10-03 12:48:43 +03:00
parent 5e7ae40f95
commit 46a2c4620a

View File

@@ -17,7 +17,7 @@ Arguments: hostnames, or username@hostnames
} }
tmux new-session -d -s ssh$USER 'ssh '$1 tmux new-session -d -s ssh$USER$$ 'ssh '$1
tmux set-window-option -t:0 synchronize-panes on tmux set-window-option -t:0 synchronize-panes on
tmux bind-key m setw synchronize-panes tmux bind-key m setw synchronize-panes
tmux rename-window 'VMS' tmux rename-window 'VMS'
@@ -26,5 +26,5 @@ do tmux split-window -h 'ssh '${!i}
tmux select-layout tiled tmux select-layout tiled
done done
tmux -2 attach-session -t ssh$USER tmux -2 attach-session -t ssh$USER$$