Last active
October 2, 2015 19:38
-
-
Save joshbuhler/2305892 to your computer and use it in GitHub Desktop.
Custom tab names for Terminal.app. Just add this to your .bash_profile and restart Terminal.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add to .bash_profile, then restart Terminal (or open a new tab.) | |
# Usage: tabname "<TAB_NAME>" | |
# | |
# Quotes around the new tab name are optional - but make it easier to | |
# add tabnames that contain spaces or special characters. | |
tabname () { | |
echo -e "\033];$1\007"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment