NOTE: pam's env management is going away soon https://github.com/linux-pam/linux-pam/issues/7#issuecomment-721595903
		
			
				
	
	
		
			10 lines
		
	
	
		
			355 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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
 |