summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
 }