Merge branch 'master' of vps:git/vcsh/bashrc
This commit is contained in:
commit
92897567de
|
@ -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
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue