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
@@ -21,8 +21,8 @@ fi
# Generate completion files in the background
zmodload -F zsh/files b:zf_mv
() {
local TMPPREFIX="$ZSH_CACHE_DIR/completions/_rustup"
zf_mv -f -- =( rustup completions zsh ) "$TMPPREFIX"
local TMPPREFIX="$ZSH_CACHE_DIR/completions/._rustup"
zf_mv -f -- =( rustup completions zsh ) "$ZSH_CACHE_DIR/completions/_rustup"
} &|
cat >| "$ZSH_CACHE_DIR/completions/_cargo" <<'EOF'
#compdef cargo