summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-12 18:46:13 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-12 18:46:13 +0100
commit29ffbc940002ec1481a10e80ebf55e43c35c6fef (patch)
tree2bce5d8501fd2d8fc86a46e80482780d3cdb0172
parentChuckNorris (diff)
downloadutil-29ffbc940002ec1481a10e80ebf55e43c35c6fef.tar.bz2
util-29ffbc940002ec1481a10e80ebf55e43c35c6fef.tar.xz
util-29ffbc940002ec1481a10e80ebf55e43c35c6fef.zip
Some NPM exports
-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