all repos — nixfiles @ 6c90b0cc95e05ebdd25bbe1a41aa586643f494c7

System and user configuration, managed by nix and home-manager

zsh: cache expensive completions to disk

Alan Pearce
commit

6c90b0cc95e05ebdd25bbe1a41aa586643f494c7

parent

2dee90e356aa218d5b9906fee768f04d4d621724

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M user/zsh/zshrcuser/zsh/zshrc
@@ -60,6 +60,9 @@ # returns the first ghq root, whereas $GHQ_ROOT returns all
hash -d p=$ghq_root[0] hash -d go=${GOPATH:-$HOME/go} +zstyle ':completion:*' use-cache on +zstyle ':completion:*' cache-path ${XDG_CACHE_HOME:-$HOME/.cache}/zsh/completion + zle -C hist-complete complete-word _generic zstyle ':completion:hist-complete:*' completer _history bindkey '\e ' hist-complete