Bash - Change the active terminal tab name

# Tab name will be set to "The Best Tab Ever" function tabname() { printf "\e]1;$1\a"; }; tabname "The Best Tab Ever" # Tab name will change based on the current directory function tabname() { printf "\e]1;$1\a"; }; tabname $PDW

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.