Today I Learned

hashrocket A Hashrocket project

Rename iTerm tab with a shell function

Shell function:

function renametab () {
    echo -ne "\033]0;"$@"\007"
}

Usage:

renametab Bob\'s Burgers

Output:

Screen Shot 2021-12-12 at 22 35 04
See More #command-line TILs