]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/title.zsh
dwb: update github css
[dotfiles.git] / zsh / lib / title.zsh
index 09c59475b25e6abd6513d2c9ad31765c2c25e10d..c58da48aad6770612534146df2774b06a785d80a 100644 (file)
@@ -1,3 +1,7 @@
+if [[ "$TERM" == "linux" ]]; then
+    return
+fi
+
 function title {
   local tmp
   tmp=(${(f)*})
@@ -9,6 +13,10 @@ case "$TERM" in
     function title_precmd  { title "${(%):-[%n@%m] %~}" }
     function title_preexec { title "$1" }
   ;;
+  (*)
+    function title_precmd  {}
+    function title_preexec {}
+  ;;
 esac
 
 autoload -U add-zsh-hook