Created
October 20, 2016 12:17
-
-
Save maxandron/4e39ac077b54a61a9a56f326fca99da6 to your computer and use it in GitHub Desktop.
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
# Just put this in your ~/.bashrc, later use it by typing: | |
# title my title | |
function title() { | |
stitle=$@ | |
PROMPT_COMMAND='echo -ne "\033]0;$stitle\007"' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment