9 lines
203 B
Bash
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
|