From e2956ca00032cf5d6a7da93ce9aa6f894c00282d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 2 Sep 2017 13:50:05 -0400 Subject: [PATCH] Auto rehash completions on bin change Note that this might have a large performance issue --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index ce76654..c348ae1 100644 --- a/.zshrc +++ b/.zshrc @@ -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)"