Merge pull request #334 from faroit/master

Adding functions to rename os x terminal tab and window titles
pull/335/head
Travis Swicegood 2014-08-25 10:19:49 -07:00
commit 5cd520fb4a
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() {