summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-07-09 19:26:58 -0400
committerJune McEnroe <programble@gmail.com>2013-07-09 19:28:56 -0400
commitedf1a2365a68bf8b8090650cbb0ef184779966ff (patch)
treefede632c5e43387ccc2486b9bd8a01a7dbc005d1
parentUse default client keys (diff)
downloadsrc-edf1a2365a68bf8b8090650cbb0ef184779966ff.tar.gz
src-edf1a2365a68bf8b8090650cbb0ef184779966ff.zip
Add title command
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index ac7a5ebe..e534cc4c 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
 }