summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-30 17:38:11 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-30 17:38:11 +0100
commit9de44ec12c25d6c9644f384e04f032e9df4f1d55 (patch)
treefaa0aa2ad1058363168cef8a1c15a6e97d8c4221
parent99a02bdb1232bc1169f385d30269d45057d2bfd9 (diff)
downloaddotfiles-9de44ec12c25d6c9644f384e04f032e9df4f1d55.tar.gz
dotfiles-9de44ec12c25d6c9644f384e04f032e9df4f1d55.tar.bz2
dotfiles-9de44ec12c25d6c9644f384e04f032e9df4f1d55.zip
npm-path: Put npm install before before $PATH
..in order to have npm updatable and usable through the global npm command
-rw-r--r--.config/bash/npm-path.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/npm-path.sh b/.config/bash/npm-path.sh
index d3d211c..d11fc50 100644
--- a/.config/bash/npm-path.sh
+++ b/.config/bash/npm-path.sh
@@ -1,4 +1,4 @@
export NPM_PACKAGES="${HOME}/.local/npm-packages"
-export PATH="${PATH}:${NPM_PACKAGES}/bin"
+export PATH="${NPM_PACKAGES}/bin:${PATH}"
export MANPATH="${MANPATH}:${NPM_PACKAGES}/share/man"
export NODE_PATH="${NPM_PACKAGES}/lib/node_modules:$NODE_PATH"