From 5682d144bbd0869c6fd151ca1e01a8526a1a31dd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 5 Oct 2014 14:31:08 +0300 Subject: [PATCH] .bashrc: Look for Node.js binaries in current directory Signed-off-by: Alan Orth --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index 2a56cfb..ada863d 100644 --- a/.bashrc +++ b/.bashrc @@ -30,6 +30,9 @@ PROMPT_COMMAND="$TITLEBAR" # look for Ansible hosts file in current directory ANSIBLE_HOSTS=hosts +# look for Node binaries in current directory +PATH=$PATH:node_modules/.bin + # If a private bin directory exists, add it to PATH [[ -d ~/bin ]] && PATH="$PATH:~/bin" @@ -47,3 +50,5 @@ shopt -s histappend # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize + +export PATH