diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-10-01 20:06:01 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-12-31 14:21:37 +0100 |
commit | 8eca7759778dcc1eee0374c9a6ac5bdeecb9a5c5 (patch) | |
tree | feefe4c40c5b47781592ff9edfe1e56f1914cbbf /share/functions | |
parent | c3971957acf63ed2ff2b4e319c8405a8fce4a14d (diff) |
hg prompt: Throw away `string match` input
This would print redundant characters
Diffstat (limited to 'share/functions')
-rw-r--r-- | share/functions/__fish_hg_prompt.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_hg_prompt.fish b/share/functions/__fish_hg_prompt.fish index 6a9f00a9..85028049 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 |