adding functions to rename os x terminal tab and window titles

pull/261/head
Faro 2014-08-22 11:26:57 +02:00 committed by Hector Rivas
parent 401711a398
commit 3d2e164156
1 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,16 @@ function tab() {
EOF
}
# renames the current os x terminal tab title
function tabname {
printf "\e]1;$1\a"
}
# renames the current os x terminal window title
function winname {
printf "\e]2;$1\a"
}
# this one switches your os x dock between 2d and 3d
# thanks to savier.zwetschge.org
function dock-switch() {