.bashrc: Look for Node.js binaries in current directory

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-10-05 14:31:08 +03:00
parent 372facb8d9
commit 5682d144bb
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -30,6 +30,9 @@ PROMPT_COMMAND="$TITLEBAR"
# look for Ansible hosts file in current directory # look for Ansible hosts file in current directory
ANSIBLE_HOSTS=hosts 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 # If a private bin directory exists, add it to PATH
[[ -d ~/bin ]] && PATH="$PATH:~/bin" [[ -d ~/bin ]] && PATH="$PATH:~/bin"
@ -47,3 +50,5 @@ shopt -s histappend
# check the window size after each command and, if necessary, # check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS. # update the values of LINES and COLUMNS.
shopt -s checkwinsize shopt -s checkwinsize
export PATH