Tmux: re-enable automatic renaming on ssh client exit

main
Yax 2 months ago
parent 76e19ab3d7
commit 5d9f52bf8b

@ -119,6 +119,7 @@ function ssh() {
# Restore the original tmux window title after disconnecting # Restore the original tmux window title after disconnecting
if [ -n "$TMUX" ]; then if [ -n "$TMUX" ]; then
set_tmux_title "$original_title" set_tmux_title "$original_title"
tmux set-window-option automatic-rename on
fi fi
} }

Loading…
Cancel
Save