summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 }