Skip to content

Instantly share code, notes, and snippets.

@hanshasselberg
Created May 5, 2011 12:26
Show Gist options
  • Select an option

  • Save hanshasselberg/956950 to your computer and use it in GitHub Desktop.

Select an option

Save hanshasselberg/956950 to your computer and use it in GitHub Desktop.
set terminal/iterm tab title to current directory
chpwd () {
print -Pn "\e]0;%c\a"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment