mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
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:
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…
Reference in New Issue
Block a user