Setting Terminal Title in MacOSX Terminal

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

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>