diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-01-03 17:34:40 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-01-03 17:34:40 -0600 |
commit | 5dd9457596c9e334af49f0e9c8624fa6af07e45e (patch) | |
tree | be4073945ff60b795c0618aa241f2a07dcd846ec | |
parent | bc1211a452f5ac705327e06d64487e6fc65b7b82 (diff) |
fix(zsh): enable completion cache
-rw-r--r-- | zsh/.config/zsh/.zshrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 51a4a2a..dd90ed6 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -26,6 +26,9 @@ zle -N select-word-style select-word-style normal zstyle :zle:transpose-words word-style shell +zstyle :completion:* cache-path "${XDG_CACHE_HOME}/zsh/zcompcache" +zstyle :completion:* use-cache true + # See: https://wiki.archlinux.org/title/Zsh#Key_bindings bindkey '^[q' push-line bindkey '^[[Z' reverse-menu-complete |