Permalink
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...
1 parent 5276d4d commit a33a411c8d84f081373bdc7462e068fe59a6d591 @rupa committed Jun 22, 2012
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() {

0 comments on commit a33a411

Please sign in to comment.