summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-07-09 19:26:58 -0400
committerJune McEnroe <june@causal.agency>2013-07-09 19:28:56 -0400
commita956792b5968f59a1a09eb5ae8e174159e9660f1 (patch)
treee2dea897e5a7bf9c8b72cf8e3b09b32b08195423 /.zshrc
parentUse default client keys (diff)
downloadsrc-a956792b5968f59a1a09eb5ae8e174159e9660f1.tar.gz
src-a956792b5968f59a1a09eb5ae8e174159e9660f1.zip
Add title command
Diffstat (limited to '')
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 36a54e67..ad09eb8e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -71,6 +71,10 @@ export PATH=$PATH:~/bin
 
 # Functions and aliases
 
+function title {
+  echo -en "\033]0;$1\a"
+}
+
 function game {
   xinit =$1 ${@:2} -- :1 vt6
 }