nixos/ohmyzsh/hooks.zsh
2023-02-09 16:55:39 +00:00

9 lines
203 B
Bash

tmux-window-name() {
if [[ -n $TMUX ]]
then
($TMUX_PLUGIN_MANAGER_PATH/tmux-window-name/scripts/rename_session_windows.py &)
fi
}
add-zsh-hook chpwd tmux-window-name