Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Set terminal title in bash
# set title of current terminal
function _set_term_title() {
echo -ne "\033]0;${1}\007"
}
alias trmtitle=_set_term_title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment