]> git.rmz.io Git - dotfiles.git/commitdiff
zsh: don't try to set title in console
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 28 Jan 2015 22:42:20 +0000 (22:42 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 28 Jan 2015 22:42:20 +0000 (22:42 +0000)
zsh/lib/title.zsh

index 18fe7e2e0041f1cceaf064c966596fc2d26c613f..c58da48aad6770612534146df2774b06a785d80a 100644 (file)
@@ -1,3 +1,7 @@
+if [[ "$TERM" == "linux" ]]; then
+    return
+fi
+
 function title {
   local tmp
   tmp=(${(f)*})