about summary refs log tree commit diff stats
path: root/profile/npm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/npm.sh')
-rw-r--r--profile/npm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile/npm.sh b/profile/npm.sh new file mode 100644 index 0000000..108a869 --- /dev/null +++ b/profile/npm.sh
@@ -0,0 +1,4 @@
1# Add npm path to $PATH
2
3command -v npm >/dev/null 2>&1 &&
4 path_add_to_PATH "$(npm config get prefix)/bin"