Tmux: re-enable automatic renaming on ssh client exit

This commit is contained in:
Yax 2024-09-05 17:34:09 +02:00
parent 76e19ab3d7
commit 5d9f52bf8b

View file

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