diff --git a/.zsh/functions/run_hooks b/.zsh/functions/run_hooks index 583e9e0..5974e0c 100755 --- a/.zsh/functions/run_hooks +++ b/.zsh/functions/run_hooks @@ -156,6 +156,7 @@ iterate_hooks () { # Detect obsolete files from run_local_hooks for hook_path in ${hook_d%%.d}.*; do case "$hook_path" in + *~) continue ;; *.d) continue ;; *.zwc) continue ;; *.zwc.*) continue ;;