From 29ffbc940002ec1481a10e80ebf55e43c35c6fef Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Sep 2015 18:46:13 +0100 Subject: Some NPM exports --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 17342ed..ad4dbb2 100644 --- a/bashrc +++ b/bashrc @@ -40,6 +40,10 @@ alias hgd='diffWith "hg diff -p -b"' PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME="/usr/share/tomcat-5.5/" export M2_HOME="/usr/share/maven-bin-3.0" +export NPM_PACKAGES="${HOME}/.npm-packages" +export NODE_PATH="$NPM_PACKAGES/lib64/node_modules:$NODE_PATH" +export MANPATH="$(manpath):$NPM_PACKAGES/share/man" +export PATH="$PATH:$NPM_PACKAGES/bin" if [ "$(awk '$5=="/" {print $1}'