From 9faa0f0068527d62470be0bb417e3beaa75ac03f Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 29 Jul 2019 09:50:26 -0400 Subject: [PATCH] Add tools to path if they are installed --- link/nix/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/link/nix/zshrc b/link/nix/zshrc index d10c9d9..5a2c659 100644 --- a/link/nix/zshrc +++ b/link/nix/zshrc @@ -130,7 +130,11 @@ if [[ `uname` == 'Darwin' ]]; then 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 + [ -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 # use homebrew's ruby