fix(npm): ignore `rm` alias (#11222)

master
Zhong Ruoyu 4 years ago committed by GitHub
parent 0066280c3e
commit bb8a0aa2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/npm/npm.plugin.zsh

@ -1,5 +1,5 @@
(( $+commands[npm] )) && {
rm -f "${ZSH_CACHE_DIR:-$ZSH/cache}/npm_completion"
command rm -f "${ZSH_CACHE_DIR:-$ZSH/cache}/npm_completion"
_npm_completion() {
local si=$IFS

Loading…
Cancel
Save