aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-01-03 17:34:40 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-01-03 17:34:40 -0600
commit5dd9457596c9e334af49f0e9c8624fa6af07e45e (patch)
treebe4073945ff60b795c0618aa241f2a07dcd846ec
parentbc1211a452f5ac705327e06d64487e6fc65b7b82 (diff)
fix(zsh): enable completion cache
-rw-r--r--zsh/.config/zsh/.zshrc3
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