Bash - Set active Terminal Tab and Window names

function winname() { printf "\e]2;$1\a"; }; function tabname() { printf "\e]1;$1\a"; }; winname $PWD; tabname "MY PROJECT"

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.