[feature] rename tab on ssh
This commit is contained in:
parent
55081eeec1
commit
00a2346b26
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user