Created
December 15, 2016 22:00
-
-
Save alana314/3cf266365271b7ef4435a63d18e857ed to your computer and use it in GitHub Desktop.
wt - change iterm window title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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