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

Closes #14125
This commit is contained in:
Asanali
2026-09-27 23:26:18 +02:00
committed by GitHub
parent 74965c9609
commit 95ba6ae764
52 changed files with 108 additions and 108 deletions
+2 -2
View File
@@ -22,6 +22,6 @@ fi
# Overwrites the file each time as completions might change with ruff versions.
zmodload -F zsh/files b:zf_mv
() {
local TMPPREFIX="$ZSH_CACHE_DIR/completions/_ruff"
zf_mv -f -- =( ruff generate-shell-completion zsh ) "$TMPPREFIX"
local TMPPREFIX="$ZSH_CACHE_DIR/completions/._ruff"
zf_mv -f -- =( ruff generate-shell-completion zsh ) "$ZSH_CACHE_DIR/completions/_ruff"
} &|