Add npm aliases to zsh config

This commit is contained in:
George Rawlinson 2017-03-31 14:23:11 +13:00
parent 3041e860e9
commit cfe3051ec1
1 changed files with 3 additions and 0 deletions

View File

@ -12,3 +12,6 @@ PATH="$NPM_CONFIG_PREFIX/bin:$PATH"
# Unset manpath so we can inherit from /etc/manpath via the `manpath` command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
export MANPATH="$NPM_CONFIG_PREFIX/share/man:$(manpath)"
alias npm_list_globals='npm list -g --depth=0'
alias npm_list_outdated_globals='npm outdated -g --depth=0'