diff --git a/tmuxssh b/tmuxssh index a737e8e..8c25393 100755 --- a/tmuxssh +++ b/tmuxssh @@ -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 bind-key m setw synchronize-panes tmux rename-window 'VMS' @@ -26,5 +26,5 @@ do tmux split-window -h 'ssh '${!i} tmux select-layout tiled done -tmux -2 attach-session -t ssh$USER +tmux -2 attach-session -t ssh$USER$$