fix: hide temp completion files from $fpath (#14126)

Closes #14125
This commit is contained in:
Asanali authored and GitHub committed 2026-09-27 23:26:18 +02:00
1 parent 74965c9609
commit 95ba6ae764
52 files changed
+108 -108

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ fi
zmodload -F zsh/files b:zf_mv
() {
local TMPPREFIX="$ZSH_CACHE_DIR/completions/_kubectl"
zf_mv -f -- =( kubectl completion zsh 2> /dev/null ) "$TMPPREFIX"
local TMPPREFIX="$ZSH_CACHE_DIR/completions/._kubectl"
zf_mv -f -- =( kubectl completion zsh 2> /dev/null ) "$ZSH_CACHE_DIR/completions/_kubectl"
} &|
# This command is used a LOT both below and in daily life