Skip to content

Instantly share code, notes, and snippets.

@sanity
Created October 30, 2009 18:25
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sanity/222607 to your computer and use it in GitHub Desktop.
Save sanity/222607 to your computer and use it in GitHub Desktop.
#!/bin/bash
# A simple script which will name a tab in iTerm
# usage:
# $ nametab New tab name
echo -ne "\033]0;"$@"\007"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment