From 54ef10a8446dbf2a46bc1ed9c700b7e939f549ab Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Mon, 22 Aug 2016 08:22:04 +0200 Subject: [PATCH] Make provider a local var --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index c5dc97a..0c0ed1f 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -238,7 +238,7 @@ end function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status' [ "$theme_display_vagrant" = 'yes' -a -f Vagrantfile ]; or return - set provider (__bobthefish_vagrant_provider) + set -l provider (__bobthefish_vagrant_provider) switch "$provider" case 'virtualbox' __bobthefish_prompt_vagrant_vbox