Add Sudo option to npm -g

This commit is contained in:
tim 2016-04-02 11:14:17 +01:00
parent 286c3e5e28
commit 5cc0620196

View File

@ -2,6 +2,7 @@ eval "$(npm completion 2>/dev/null)"
# Install dependencies globally # Install dependencies globally
alias npmg="npm i -g " alias npmg="npm i -g "
alias snpmg="sudo npm i -g "
# npm package names are lowercase # npm package names are lowercase
# Thus, we've used camelCase for the following aliases: # Thus, we've used camelCase for the following aliases: