From e17a6871b444b0e210e54c1bb3f88e82ef0d9f03 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. --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index 7f0179b..b47b6ef 100644 --- a/fish_prompt.fish +++ b/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