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

This commit is contained in:
Zhong Ruoyu 2022-10-24 18:07:12 +08:00 committed by GitHub
parent 0066280c3e
commit bb8a0aa2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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