Skip to content

Instantly share code, notes, and snippets.

@cjerdonek
Created May 8, 2012 17:21
Show Gist options
  • Save cjerdonek/2637584 to your computer and use it in GitHub Desktop.
Save cjerdonek/2637584 to your computer and use it in GitHub Desktop.
Set the title of a Mac Terminal
#!/bin/bash
# Set the title of a Mac Terminal. From--
# http://www.devdaily.com/blog/post/mac-os-x/change-title-bar-of-mac-os-x-terminal-window
settitle() {
echo -n -e "\033]0;${1}\007"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment