]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
bash-prompt: do not use wide unicode
authorElan Ruusamäe <glen@delfi.ee>
Sun, 20 Nov 2016 17:09:21 +0000 (19:09 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 20 Nov 2016 17:10:35 +0000 (19:10 +0200)
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

bash-prompt.sh

index 539fbeded9a5ffae8928db04d9c835a16c6a35c5..2750122ee9c0d85fbe34e66277e636a87231a2a0 100644 (file)
@@ -54,7 +54,7 @@ __bash_parse_git_branch() {
        diverge_pattern="Your branch and (.*) have diverged"
 
        if [[ ! ${git_status} =~ "working directory clean" ]]; then
-               state="${RED}â\9a¡"
+               state="${RED}â\98\85"
        fi
 
        # add an else if or two here if you want to get more specific
This page took 0.037458 seconds and 4 git commands to generate.