mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-29 06:01:16 -03: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user