Mercurial > repos > other > linux
changeset 140:f5dd593cc018
Only show "u=" for hg when we're in a VCS'd directory
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 18 Jan 2020 20:54:13 +0000 |
parents | c09729100dd2 |
children | 13435b80c672 |
files | bashrc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bashrc Sat Jan 18 20:41:50 2020 +0000 +++ b/bashrc Sat Jan 18 20:54:13 2020 +0000 @@ -49,7 +49,7 @@ HG_EXTRA=$(hg prompt "{-{incoming|count}}{+{outgoing|count}}" 2>/dev/null) if [[ "x$HG_EXTRA" != "x" ]]; then VCS_EXTRA="${VCS_EXTRA} u${HG_EXTRA}" - else + elif [[ "x$VCS_EXTRA" != "x" ]]; then VCS_EXTRA="${VCS_EXTRA} u=" fi fi