Commit f078e037 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2275 from wjv/wjv

Use precmd hook instead of chpwd for updating OS X proxy icon
parents 66a33b80 d12113a9
...@@ -32,7 +32,7 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then ...@@ -32,7 +32,7 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
# Register the function so it is called whenever the working # Register the function so it is called whenever the working
# directory changes. # directory changes.
autoload add-zsh-hook 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. # Tell the terminal about the initial directory.
update_terminal_cwd update_terminal_cwd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment