From b4cd761843b930b1bb711769e0ce2a1ca7836f7b Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 23 Nov 2014 14:18:36 -0800 Subject: [PATCH] [bobthefish] One more cleanup. --- themes/bobthefish/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish index 7f0179b..b47b6ef 100644 --- a/themes/bobthefish/fish_prompt.fish +++ b/themes/bobthefish/fish_prompt.fish @@ -107,7 +107,7 @@ function __bobthefish_hg_project_dir -d 'Print the current hg project base direc [ "$theme_display_hg" = 'no' ]; and return set d (pwd) while not [ $d = / ] - if test -e $d/.hg + if [ -e $d/.hg ] command hg root ^/dev/null return end