ADDED: tab-title function in osx module
This commit is contained in:
parent
412af29808
commit
7a3058c281
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
-------
|
||||
|
|
14
modules/osx/functions/tab-title
Normal file
14
modules/osx/functions/tab-title
Normal 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 "$@"
|
Loading…
Add table
Reference in a new issue