bashrc/.pam_environment

10 lines
355 B
Plaintext

# ~/.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