summaryrefslogtreecommitdiff
path: root/.config/bash/npm-path.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/bash/npm-path.sh')
-rw-r--r--.config/bash/npm-path.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/bash/npm-path.sh b/.config/bash/npm-path.sh
new file mode 100644
index 0000000..d3d211c
--- /dev/null
+++ b/.config/bash/npm-path.sh
@@ -0,0 +1,4 @@
+export NPM_PACKAGES="${HOME}/.local/npm-packages"
+export PATH="${PATH}:${NPM_PACKAGES}/bin"
+export MANPATH="${MANPATH}:${NPM_PACKAGES}/share/man"
+export NODE_PATH="${NPM_PACKAGES}/lib/node_modules:$NODE_PATH"