Add tools to path if they are installed

This commit is contained in:
Gene Liverman 2019-07-29 09:50:26 -04:00
parent f665eb2570
commit 9faa0f0068
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6

View file

@ -130,7 +130,11 @@ if [[ `uname` == 'Darwin' ]]; then
eval '/usr/libexec/path_helper -s' > /dev/null eval '/usr/libexec/path_helper -s' > /dev/null
# Add OVFTool to PATH if it is installed
[ -d '/Applications/VMware OVF Tool' ] && export PATH=$PATH:'/Applications/VMware OVF Tool'
# optional additions from homebrew # optional additions from homebrew
[ -d "/usr/local/opt/node@10/bin" ] && export PATH="/usr/local/opt/node@10/bin:$PATH"
[ -d /usr/local/opt/qt/bin ] && export PATH=$PATH:/usr/local/opt/qt/bin [ -d /usr/local/opt/qt/bin ] && export PATH=$PATH:/usr/local/opt/qt/bin
# use homebrew's ruby # use homebrew's ruby