summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
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}' </proc/1/mountinfo)" != "$(awk '$5=="/" {print $1}' </proc/$$/mountinfo)" ]; then
# chroot