[feature] rename tab on ssh

This commit is contained in:
Klesh Wong 2021-01-12 15:55:13 +08:00
parent 55081eeec1
commit 00a2346b26

View File

@ -59,5 +59,13 @@ if status is-interactive
# === auto cd into last activated directory # === auto cd into last activated directory
cd $last_pwd cd $last_pwd
if test -n "$TMUX"
function ssh
tmux rename-window $argv[1]
command ssh $argv
tmux setw automatic-rename
end
end
end end