adding functions to rename os x terminal tab and window titles

pull/334/head
Faro 2014-08-22 11:26:57 +02:00
parent a6c2e3b765
commit 1560d7b9bb
1 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,16 @@ function tab() {
EOF 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 # this one switches your os x dock between 2d and 3d
# thanks to savier.zwetschge.org # thanks to savier.zwetschge.org
function dock-switch() { function dock-switch() {