mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
npm: only source npm completion cache if file exists
This commit is contained in:
parent
2a44527ac3
commit
76924b7f5f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
[[ $? -ne 0 ]] && rm -f $__NPM_COMPLETION_FILE
|
||||
fi
|
||||
|
||||
source $__NPM_COMPLETION_FILE
|
||||
[[ -f $__NPM_COMPLETION_FILE ]] && source $__NPM_COMPLETION_FILE
|
||||
}
|
||||
|
||||
# Install dependencies globally
|
||||
|
|
Loading…
Reference in a new issue