Created
February 4, 2017 09:10
-
-
Save TuxCoding/8cb8b6caecf488d920693d182d2b730d to your computer and use it in GitHub Desktop.
Sets the window title based on the command input Source: https://stackoverflow.com/questions/5076127/bash-update-terminal-title-by-running-a-second-command
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
| trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment