diff --git a/.zshrc b/.zshrc index c8e3d46..4df9399 100644 --- a/.zshrc +++ b/.zshrc @@ -163,3 +163,8 @@ if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then . ~/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer...and kept by me eval "$(direnv hook zsh)" + + # This way the completion script does not have to parse Bazel's options + # repeatedly. The 'cache-path' directory in must be created manually. +zstyle ':completion:*' use-cache on +zstyle ':completion:*' cache-path $ZSH/cache