fix ssh
This commit is contained in:
parent
8c346b1729
commit
65ae6b15ad
@ -27,7 +27,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" "ssh ${choosed_ssh_server} || read"
|
||||
tmux new-session -s "${SESSION}" -d -n "1" "TERM=xterm-color ssh ${choosed_ssh_server} || read"
|
||||
fi
|
||||
|
||||
tmux set-option -t "${SESSION}" status off
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user