zsh: reiterate the wish of completion caching

This commit is contained in:
surtur 2022-08-31 14:47:17 +02:00
parent 335cc4cb73
commit b35be86999
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

5
.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 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)" 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