Browse Source

chore(init): ignore any aliases when running `rm` (#11156)

Giovanni Squillero 1 year ago
parent
commit
7dcabbe682
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oh-my-zsh.sh

+ 1 - 1
oh-my-zsh.sh

@@ -143,7 +143,7 @@ fi
 unset zcompdump_revision zcompdump_fpath zcompdump_refresh
 
 # zcompile the completion dump file if the .zwc is older or missing.
-zrecompile -q -p "$ZSH_COMPDUMP" && rm -f "$ZSH_COMPDUMP.zwc.old"
+zrecompile -q -p "$ZSH_COMPDUMP" && command rm -f "$ZSH_COMPDUMP.zwc.old"
 
 # Load all of the config files in ~/oh-my-zsh that end in .zsh
 # TIP: Add files you don't want in git to .gitignore