Auto rehash completions on bin change

Note that this might have a large performance issue
This commit is contained in:
Adam Goldsmith 2017-09-02 13:50:05 -04:00
parent b2fab31e42
commit e2956ca000
1 changed files with 2 additions and 0 deletions

2
.zshrc
View File

@ -37,6 +37,8 @@ CORRECT_IGNORE="_*"
zhighlighters=(main brackets)
stty -ixon #disable XON/XOFF, which breaks C-s
setopt no_share_history
# rehashes on bin change, might cause performance issues
zstyle ':completion:*' rehash true
#load fasd if it exists
hash fasd 2>/dev/null && eval "$(fasd --init auto)"