-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use chpwd instead of precmd hook, and add-zsh-hook
This triggers z at every working directory change, instead of at every prompt, in zsh. Use add-zsh-hook to set up the _z_chpwd function. Using `cmd &!` instead of `(cmd &)` breaks sourcing z.sh in other shells, like in sh, so keeping that syntax. See http://zsh.sourceforge.net/Doc/Release/Jobs-_0026-Signals.html This code is compatible with zsh versions >= 5.0. Also update man page and README. Closes #210
- Loading branch information
Showing
3 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters