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.
pull/23/head
Justin Hileman 8 years ago
parent a9cc3400fa
commit 873289224e

@ -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

Loading…
Cancel
Save