Permalink
Browse files

Add node_modules/.bin as a relative path

  • Loading branch information...
1 parent d65b637 commit 2edaab23ab65239464d9b66786615c4dd04b3c28 @matijs committed Nov 11, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 .bash_profile
View
@@ -5,6 +5,8 @@
[ -d "/usr/local/mysql/bin" ] && export PATH="/usr/local/mysql/bin:$PATH";
# check whether the current user has a $HOME/bin and if so add it to the PATH
[ -d "$HOME/bin" ] && export PATH="$HOME/bin:$PATH";
+# add node_modules/.bin as a relative path to the PATH
+export PATH="node_modules/.bin:$PATH";
# remove duplicates from the path
export PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!($i in a)){a[$i];printf s$i;s=":"}}}'<<<$PATH`;

0 comments on commit 2edaab2

Please sign in to comment.