Skip to content

Instantly share code, notes, and snippets.

@alana314
Created December 15, 2016 22:00
Show Gist options
  • Save alana314/3cf266365271b7ef4435a63d18e857ed to your computer and use it in GitHub Desktop.
Save alana314/3cf266365271b7ef4435a63d18e857ed to your computer and use it in GitHub Desktop.
wt - change iterm window title
#!/bin/zsh
#usage: wt [title name]
#deselect all the options for window and tab titles in the iterm->preferences->appearance section. And in the .zshrc uncomment/add export DISABLE_AUTO_TITLE="true"
#via http://superuser.com/questions/292652/change-iterm2-window-and-tab-titles-in-zsh
echo -ne "\e]1;$1\a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment