summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-01 18:13:27 +0000
committerAlan Pearce2013-11-01 18:13:27 +0000
commit3f38a0e5aa2dc0f22491cde5f2432275f811ed90 (patch)
treef439505634a85c425cf6e0b9250fe6e52ef1bcaf
parentf1a0100b3beca48b17601156da733d69027a0c4d (diff)
downloadnixfiles-3f38a0e5aa2dc0f22491cde5f2432275f811ed90.tar.lz
nixfiles-3f38a0e5aa2dc0f22491cde5f2432275f811ed90.tar.zst
nixfiles-3f38a0e5aa2dc0f22491cde5f2432275f811ed90.zip
zsh: Remove title-changing precmd function
-rwxr-xr-xzsh/zshrc8
1 files changed, 0 insertions, 8 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index be73b30a..a08cee03 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -326,14 +326,6 @@ fi
 
 # Functions
 
-precmd () {
-    [[ -t 1 ]] || return
-    case $TERM in
-		*xterm*|rxvt|putty|(dt|k|E)term|screen*) print -Pn "\e]2;%~\a"
-		;;
-	esac
-}
-
 pid () {
     local i
     for i in /proc/<->/stat