summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index 87a5876..5b99edf 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -206,7 +206,8 @@ _set_cwd () {
echo -ne "$update"
}
-chpwd_functions=( ${chpwd_functions} _set_title _set_cwd )
+precmd_functions=( ${precmd_functions} _set_title )
+chpwd_functions=( ${chpwd_functions} _set_cwd )
case $TERM in
xterm*)
@@ -216,7 +217,6 @@ xterm*)
esac
# exec once for initialization
-_set_title
_set_cwd
# }}}