Add npm aliases to zsh config
This commit is contained in:
parent
3041e860e9
commit
cfe3051ec1
1 changed files with 3 additions and 0 deletions
|
@ -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 so we can inherit from /etc/manpath via the `manpath` command
|
||||||
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
|
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
|
||||||
export MANPATH="$NPM_CONFIG_PREFIX/share/man:$(manpath)"
|
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'
|
||||||
|
|
Loading…
Reference in a new issue