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]
This commit is contained in:
Fabian Homborg 2019-04-12 09:00:42 +02:00
parent b0388ed488
commit e672b03993

View File

@ -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"