Skip to content

Commit

Permalink
Async PROMPT_COMMAND for zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
rupa committed Sep 30, 2016
1 parent 4a8b741 commit 1a361f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions z.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ if type compctl >/dev/null 2>&1; then
# populate directory list, avoid clobbering any other precmds.
if [ "$_Z_NO_RESOLVE_SYMLINKS" ]; then
_z_precmd() {
_z --add "${PWD:a}"
(_z --add "${PWD:a}" &)
}
else
_z_precmd() {
_z --add "${PWD:A}"
(_z --add "${PWD:A}" &)
}
fi
[[ -n "${precmd_functions[(r)_z_precmd]}" ]] || {
Expand Down

0 comments on commit 1a361f6

Please sign in to comment.