mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Make provider a local var
This commit is contained in:
parent
2cc237267e
commit
54ef10a844
@ -238,7 +238,7 @@ end
|
|||||||
|
|
||||||
function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status'
|
function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status'
|
||||||
[ "$theme_display_vagrant" = 'yes' -a -f Vagrantfile ]; or return
|
[ "$theme_display_vagrant" = 'yes' -a -f Vagrantfile ]; or return
|
||||||
set provider (__bobthefish_vagrant_provider)
|
set -l provider (__bobthefish_vagrant_provider)
|
||||||
switch "$provider"
|
switch "$provider"
|
||||||
case 'virtualbox'
|
case 'virtualbox'
|
||||||
__bobthefish_prompt_vagrant_vbox
|
__bobthefish_prompt_vagrant_vbox
|
||||||
|
Loading…
Reference in New Issue
Block a user