Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
f078e037
Commit
f078e037
authored
Nov 30, 2013
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/terminalapp/terminalapp.plugin.zsh
View file @
f078e037
...
@@ -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
chpw
d update_terminal_cwd
add-zsh-hook
precm
d update_terminal_cwd
# Tell the terminal about the initial directory.
# Tell the terminal about the initial directory.
update_terminal_cwd
update_terminal_cwd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment