Setting Terminal Title in MacOSX Terminal Patrick 12 years ago Here’s a bash script that’s useful for setting the title of your MacOSX terminal. title() { echo -n -e "\033]0;$1\007" } alias title=title