[packages/rpm-build-tools] bash-prompt: do not use wide unicode

glen glen at pld-linux.org
Sun Nov 20 18:11:01 CET 2016


commit bcc4434fc6726b06d60cd5e647a0290a054819d8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 20 19:09:21 2016 +0200

    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

 bash-prompt.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/c5f46e0c75b8e961ad78e85427f153a9a4bc29a1



More information about the pld-cvs-commit mailing list