Last active
May 22, 2018 11:48
-
-
Save glegoux/41592fa60df8a2973bb7e8f073f58cfe to your computer and use it in GitHub Desktop.
[Bash] Set the title of your terminal tab
This file contains 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
#!/usr/bin/env bash | |
# Set the title of your terminal tab | |
title="$1" | |
echo -n -e "\033]0;${title}\007" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment