Merge pull request #2 from mhalano/revert-1-add-rehash-option

Revert "Add an option for completion auto-rehash"
This commit is contained in:
Marcos Alano 2015-11-02 19:18:52 -02:00
commit 69710e0867
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
# auto-complete external commands
zstyle ':completion:*' rehash true
unset REHASH_COMPLETION
fi
# disable named-directories autocompletion
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories

View File

@ -28,11 +28,6 @@ ZSH_THEME="robbyrussell"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line to force a rehash on every external completion
# request, so newly installed commands are automatically completed without
# reloading the shell. Be aware that this may impact completion performance.
# REHASH_COMPLETION="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.