diff --git a/share/functions/__fish_hg_prompt.fish b/share/functions/__fish_hg_prompt.fish index 6a9f00a96..850280497 100644 --- a/share/functions/__fish_hg_prompt.fish +++ b/share/functions/__fish_hg_prompt.fish @@ -78,7 +78,7 @@ function __fish_hg_prompt --description 'Write out the hg prompt' end end - if string match -r '^[AMCD]' $repo_status + if string match -r '^[AMCD]' $repo_status >/dev/null set_color $fish_color_hg_modified else set_color $fish_color_hg_dirty