Tag Info

New answers tagged

0

A precmd does the trick. However, some oh-my-zsh themes mess around with the window title. Set PR_TITLEBAR to an empty string to fix it. set-window-title() { # /Users/clessg/projects/dotfiles -> ~/p/dotfiles window_title="\e]0;${${PWD/#"$HOME"/~}/projects/p}\a" echo -ne "$window_title" } PR_TITLEBAR='' set-window-title add-zsh-hook precmd ...



Top 50 recent answers are included