From cfe3051ec1d2971a964815d2ac6e6306de62daa0 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Fri, 31 Mar 2017 14:23:11 +1300 Subject: [PATCH] Add npm aliases to zsh config --- zsh/.oh-my-zsh/custom/npm.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.oh-my-zsh/custom/npm.zsh b/zsh/.oh-my-zsh/custom/npm.zsh index 4fb6e50..d3839c3 100644 --- a/zsh/.oh-my-zsh/custom/npm.zsh +++ b/zsh/.oh-my-zsh/custom/npm.zsh @@ -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'