From e672b0399331197307b58dbe21da722a350a95fc Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 12 Apr 2019 09:00:42 +0200 Subject: [PATCH] functions/fish_hg_prompt: Remove --color and --pager These weren't added long enough ago, and I only added them speculatively. So it should make it work with old hg versions. CC @zanchey. [ci skip] --- share/functions/fish_hg_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_hg_prompt.fish b/share/functions/fish_hg_prompt.fish index 93c4d102b..3ec08cf6e 100644 --- a/share/functions/fish_hg_prompt.fish +++ b/share/functions/fish_hg_prompt.fish @@ -39,7 +39,7 @@ function fish_hg_prompt --description 'Write out the hg prompt' echo -n '|' # Disabling color and pager is always a good idea. - set -l repo_status (hg status --color never --pager never | string sub -l 2 | sort -u) + set -l repo_status (hg status | string sub -l 2 | sort -u) # Show nice color for a clean repo if test -z "$repo_status"