From b49a821a8103a7732d72492ea1e6bf7ad5860a7e Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sat, 23 Dec 2017 05:07:56 -0800 Subject: [PATCH] Minor style fixes --- fish_prompt.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index 25cb1fe..0d08809 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -394,9 +394,9 @@ function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status' # .vagrant/machines/$machine/$provider/id for file in .vagrant/machines/*/*/id - read -l id <$file + read -l id <"$file" - if [ ! -z "$id" ] + if [ -n "$id" ] switch "$file" case '*/virtualbox/id' __bobthefish_prompt_vagrant_vbox $id