Merge branch 'master' of vps:git/vcsh/bashrc

This commit is contained in:
David Thurstenson 2020-06-24 11:20:51 -05:00
commit 92897567de
2 changed files with 10 additions and 7 deletions

View File

@ -10,10 +10,4 @@ case $(tty) in /dev/tty[0-9]*)
;; ;;
esac esac
# Add home bin folder to $PATH # To maximize scope, env vars are set in ~/.pam_environment
PATH=$PATH:~/bin
# Redirect npm global installs to user folder instead
# Ref: https://wiki.archlinux.org/index.php/Node.js#Allow_user-wide_installations
PATH="$HOME/.node_modules/bin:$PATH"
export npm_config_prefix=~/.node_modules

9
.pam_environment Normal file
View File

@ -0,0 +1,9 @@
# ~/.pam_environment variables
# Add home bin folder and ~/.node_modules/bin to $PATH
PATH DEFAULT= OVERRIDE=${HOME}/bin:${HOME}/.node_modues/bin:${PATH}
# Redirect npm global installs to user folder instead
# Ref: https://wiki.archlinux.org/index.php/Node.js#Allow_user-wide_installations
npm_config_prefix DEFAULT=/home/thurstylark/.node_modules