Custom PATH and vanilla npm

This commit is contained in:
He4eT 2020-08-19 00:42:32 +05:00
commit 2d4cf47139
2 changed files with 2 additions and 170 deletions

View file

@ -1,5 +1,7 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/apps/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/odd/.oh-my-zsh"
@ -96,10 +98,3 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
export NPM_PACKAGES="/home/odd/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
export PATH="$NPM_PACKAGES/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_PACKAGES/share/man:$(manpath)"