Merge b6fe752cdd into 1ba8a96ec9
This commit is contained in:
commit
de68acf6b2
2
nvm.sh
2
nvm.sh
|
|
@ -1346,7 +1346,7 @@ nvm_npm_global_modules() {
|
|||
fi
|
||||
|
||||
local INSTALLS
|
||||
INSTALLS=$(echo "$NPMLIST" | command sed -e '/ -> / d' -e '/\(empty\)/ d' -e 's/^.* \(.*@[^ ]*\).*/\1/' -e '/^npm@[^ ]*.*$/ d' | command xargs)
|
||||
INSTALLS=$(echo "$NPMLIST" | command sed -e '/ -> / d' -e '/\(empty\)/ d' -e 's/^.* \(.*@[^ ]*\).*/\1/' -e '/^npm@[^ ]*.*$/ d' | command xargs -0)
|
||||
|
||||
local LINKS
|
||||
LINKS="$(echo "$NPMLIST" | command sed -n 's/.* -> \(.*\)/\1/ p')"
|
||||
|
|
|
|||
Loading…
Reference in New Issue