diff --git a/zsh/bin/update b/zsh/bin/update index b0c3cf9..38113a7 100755 --- a/zsh/bin/update +++ b/zsh/bin/update @@ -196,6 +196,10 @@ update-npm() { return fi + if [ ! -d ~/.npmbin ]; then + return + fi + start_npm_update=`date +%s` echo "\033[32;1m=== Updating node packages ===\033[0m"