summaryrefslogtreecommitdiff
path: root/plugins/terminalapp/terminalapp.plugin.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-11-30 11:06:21 -0800
committerRobby Russell <robby@planetargon.com>2013-11-30 11:06:21 -0800
commitf078e0374339be051b868fccfa09000176d2e9fa (patch)
treef751ee3dcf0a0cf147fdb73c074871206c8b148f /plugins/terminalapp/terminalapp.plugin.zsh
parent66a33b80c3c5c768bab0fd4bbed37851fcc01675 (diff)
parentd12113a9e89fed866db625f7e110fb62333b2746 (diff)
downloadzsh-f078e0374339be051b868fccfa09000176d2e9fa.tar.gz
zsh-f078e0374339be051b868fccfa09000176d2e9fa.tar.bz2
zsh-f078e0374339be051b868fccfa09000176d2e9fa.zip
Merge pull request #2275 from wjv/wjv
Use precmd hook instead of chpwd for updating OS X proxy icon
Diffstat (limited to 'plugins/terminalapp/terminalapp.plugin.zsh')
-rw-r--r--plugins/terminalapp/terminalapp.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/terminalapp/terminalapp.plugin.zsh b/plugins/terminalapp/terminalapp.plugin.zsh
index 2249b1e2f..6e47ee188 100644
--- a/plugins/terminalapp/terminalapp.plugin.zsh
+++ b/plugins/terminalapp/terminalapp.plugin.zsh
@@ -32,7 +32,7 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
# Register the function so it is called whenever the working
# directory changes.
autoload add-zsh-hook
- add-zsh-hook chpwd update_terminal_cwd
+ add-zsh-hook precmd update_terminal_cwd
# Tell the terminal about the initial directory.
update_terminal_cwd