ADDED: tab-title function in osx module

This commit is contained in:
nstCactus 2017-04-11 13:16:26 +02:00
parent 412af29808
commit 7a3058c281
2 changed files with 15 additions and 0 deletions

View file

@ -23,6 +23,7 @@ Functions
- `osx-rm-dir-metadata` deletes .DS\_Store, \_\_MACOSX cruft.
- `osx-ls-download-history` displays the Mac OS X download history.
- `osx-rm-download-history` deletes the Mac OS X download history.
- `tab-title` sets the tab title (works in both _Terminal_ and [_iTerm_][3]).
Authors
-------

View file

@ -0,0 +1,14 @@
#
# Changes the current tab title
#
# Authors:
# nstCactus <snstCactus@gmail.com>
#
function tab-title {
echo -ne "\033]0;"$*"\007"
}
tab-title "$@"