diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshenv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 819e611..ce62ecf 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -18,6 +18,10 @@ fi [[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" +if command -v npm &> /dev/null; then + export npm_config_prefix="$HOME/.local" +fi + if command -v bat &> /dev/null; then export MANPAGER="sh -c 'col -bx | bat --plain --language man'" # note that mandoc needs a wrapper script e.g.: |