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

master
Giovanni Squillero 4 years ago committed by GitHub
parent dfa88b4d36
commit 7dcabbe682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save