fix
This commit is contained in:
parent
b01110dc91
commit
b68cc25014
@ -28,7 +28,7 @@ SESSION="ssh_$(echo "${choosed_ssh_server%% *}" | sed 's/\./\-/g ; s/\:/\-/g')"
|
||||
|
||||
|
||||
if ! tmux has-session -t="${SESSION}" 2>/dev/null; then
|
||||
tmux new-session -s "${SESSION}" -d -n "1" "TERM=xterm-256color ssh ${choosed_ssh_server} || read"
|
||||
tmux new-session -s "${SESSION}" -c "${HOME}" -d -n "1" "TERM=xterm-256color ssh ${choosed_ssh_server} || read"
|
||||
fi
|
||||
|
||||
tmux switch-client -t "${SESSION}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user