From: Elan Ruusamäe Date: Sun, 20 Nov 2016 17:09:21 +0000 (+0200) Subject: bash-prompt: do not use wide unicode X-Git-Tag: auto/th/rpm-build-tools-4.9-3~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm-build-tools.git;a=commitdiff_plain;h=bcc4434fc6726b06d60cd5e647a0290a054819d8;hp=d66bce0d88feda897c23fad746cf5558587d0bd8 bash-prompt: do not use wide unicode seems readline 7.0 causing random breakage in random apps with wide uncode. bash is one of them, byoby (tmux) is broken as well. https://bugs.launchpad.net/byobu/+bug/1641819 --- diff --git a/bash-prompt.sh b/bash-prompt.sh index 539fbed..2750122 100644 --- a/bash-prompt.sh +++ b/bash-prompt.sh @@ -54,7 +54,7 @@ __bash_parse_git_branch() { diverge_pattern="Your branch and (.*) have diverged" if [[ ! ${git_status} =~ "working directory clean" ]]; then - state="${RED}⚡" + state="${RED}★" fi # add an else if or two here if you want to get more specific