.bashrc: Look for Node.js binaries in current directory
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
372facb8d9
commit
5682d144bb
5
.bashrc
5
.bashrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user