mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
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:
parent
b0388ed488
commit
e672b03993
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue