Revert "Add an option for completion auto-rehash"

This commit is contained in:
Marcos Alano 2015-11-02 19:17:51 -02:00
commit a1a1160352
2 changed files with 2 additions and 10 deletions

View file

@ -32,11 +32,8 @@ else
zstyle ':completion:*:*:*:*:processes' command "ps -u $USER -o pid,user,comm -w -w"
fi
# rehash on every external command completion request
if [ "x$REHASH_COMPLETION" = "xtrue" ]; then
zstyle ':completion:*' rehash true
unset REHASH_COMPLETION
fi
# auto-complete external commands
zstyle ':completion:*' rehash true
# disable named-directories autocompletion
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories