.zshrc: Check for existence of bin directories we're adding
Actually check for the directories that we are adding to the PATH. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
a5199335f1
commit
d5afbad716
4
.zshrc
4
.zshrc
@ -66,7 +66,7 @@ export PAGER=less
|
||||
export ANSIBLE_HOSTS=hosts
|
||||
|
||||
# Enable user's "global" npm packages
|
||||
if [[ -d ~/.npm-packages ]]; then
|
||||
if [[ -d ~/.npm-packages/bin ]]; then
|
||||
PATH=$PATH:~/.npm-packages/bin
|
||||
fi
|
||||
|
||||
@ -96,7 +96,7 @@ if [[ -d ~/Downloads/go ]]; then
|
||||
fi
|
||||
|
||||
# If heroku toolbelt is installed, add it to PATH
|
||||
[[ -d /usr/local/heroku ]] && PATH=$PATH:/usr/local/heroku/bin
|
||||
[[ -d /usr/local/heroku/bin ]] && PATH=$PATH:/usr/local/heroku/bin
|
||||
|
||||
export PATH
|
||||
export MANPATH
|
||||
|
Loading…
Reference in New Issue
Block a user