Open your ~/.zshrc file and put following inside of it: DISABLE_AUTO_TITLE="true" echo -ne "\e]1;\a" Then open the settings for iTerm2 and select PWD from the title dropdown: Finally the tab title for iTerm2 will look something like below: