Grep the vagrantfile to check for vmware_fusion

It's naive, but more likely successful than checking for vmrun, which most people prolly never link.
This commit is contained in:
Justin Hileman 2016-02-19 07:53:38 -08:00
parent a9cc3400fa
commit 873289224e

View File

@ -193,7 +193,7 @@ function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status'
if [ -f Vagrantfile ]
if type -q VBoxManage
__bobthefish_prompt_vagrant_vbox
else if type -q vmrun
else if grep vmware_fusion Vagrantfile >/dev/null ^&1
__bobthefish_prompt_vagrant_vmware
end
end