From 75348c4413dd9260d46fe16fd3216e52eb18f10e Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 18 Jun 2026 12:11:17 -0700 Subject: [PATCH] Fixup zcompile --- dotfiles/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index be3c972..13b6abe 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -214,7 +214,7 @@ if [[ $- == *i* ]] ; then if [[ ! -f "$DUMPFILE" || ( -n "$newest_comp" && "$newest_comp" -nt "$DUMPFILE" ) ]]; then compinit -i -d "$DUMPFILE" # Asynchronously compile the dump file with an atomic rename - { zcompile "$DUMPFILE.zwc.tmp" "$DUMPFILE" && mv -f "$DUMPFILE.zwc.tmp" "$DUMPFILE.zwc" } &! + { zcompile "$DUMPFILE.zwc.$$.tmp" "$DUMPFILE" && mv -f "$DUMPFILE.zwc.$$.tmp" "$DUMPFILE.zwc" } &! else compinit -C -i -d "$DUMPFILE" fi