mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 19:11:58 +02:00
Tmux: re-enable automatic renaming on ssh client exit
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user