diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish index 7f0179b54fd40b2aa60d3421f2a72914ae185b96..b47b6efcaee53da93dc070240838281b256e166a 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