Browse Source

Gracfully handle ls errors

pull/2/head
Luke Childs 8 years ago
parent
commit
48e1a8b20d
  1. 2
      zsh-better-npm-completion.plugin.zsh

2
zsh-better-npm-completion.plugin.zsh

@ -7,7 +7,7 @@ _zbnc_no_of_npm_args() {
}
_zbnc_list_cached_modules() {
ls ~/.npm
ls ~/.npm 2>/dev/null
}
_zbnc_recursively_look_for() {

Loading…
Cancel
Save