commit 842f27171a5d4b1d9cfb6f640319d5b61b5beab9
parent dce21f880b75b41f70769c5198c64f6459651bf6
Author: Chris Bracken <chris@bracken.jp>
Date: Thu, 16 Mar 2017 10:15:19 -0700
Rename setxtitle to tt (terminal title)
Also emit $@ as the title rather than just $1.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.sh_functions b/.sh_functions
@@ -2,6 +2,6 @@
# Custom shell functions
# Sets xterm title to $1.
-function setxtitle {
- echo -n "\033]0;${1}\007"
+function tt {
+ echo -n "\033]0;${@}\007"
}