Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

revert accidental change

Accidentally set z not to resolve symlinks. I'm leaning towards making
this the default, but I'm not ready to "commit" yet (haha)
  • Loading branch information...
commit a33a411c8d84f081373bdc7462e068fe59a6d591 1 parent 5276d4d
@rupa authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  z.sh
View
3  z.sh
@@ -184,8 +184,7 @@ if complete &> /dev/null; then
complete -C '_z --complete "$COMP_LINE"' ${_Z_CMD:-z}
# populate directory list. avoid clobbering other PROMPT_COMMANDs.
echo $PROMPT_COMMAND | grep -q "_z --add"
- #[ $? -gt 0 ] && PROMPT_COMMAND='_z --add "$(pwd -P 2>/dev/null)" 2>/dev/null;'"$PROMPT_COMMAND"
- [ $? -gt 0 ] && PROMPT_COMMAND='_z --add "$(pwd 2>/dev/null)" 2>/dev/null;'"$PROMPT_COMMAND"
+ [ $? -gt 0 ] && PROMPT_COMMAND='_z --add "$(pwd -P 2>/dev/null)" 2>/dev/null;'"$PROMPT_COMMAND"
elif compctl &> /dev/null; then
# zsh tab completion
_z_zsh_tab_completion() {
Please sign in to comment.
Something went wrong with that request. Please try again.