diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-07-02 12:02:41 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-07-02 12:02:41 +0300 |
commit | 7759063b7485ca0701fc8ba1961d0e53568ddd59 (patch) | |
tree | a0a66d4f721b2bac32a476cc2bfeba957612ca7a /gitstatus.prompt.sh | |
parent | f1ff6804871d47381b9bd398a60f4c77174fd1d3 (diff) |
Squashed 'gitstatus/' changes from 76182238..68bf9e0d
68bf9e0d build: generate byte-for-byte identical gitstatusd if the compiler supports -ffile-prefix-map
d03e8edc add support for s390x architecture
b32bea51 add a few architectures to the build script
7001409e bash: escape non-printable ANSI sequences (#247)
git-subtree-dir: gitstatus
git-subtree-split: 68bf9e0da3695ae989d523527643bef3f88e86ea
Diffstat (limited to 'gitstatus.prompt.sh')
-rw-r--r-- | gitstatus.prompt.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitstatus.prompt.sh b/gitstatus.prompt.sh index 9c1a2138..f27bcc39 100644 --- a/gitstatus.prompt.sh +++ b/gitstatus.prompt.sh @@ -33,11 +33,11 @@ function gitstatus_prompt_update() { gitstatus_query "$@" || return 1 # error [[ "$VCS_STATUS_RESULT" == ok-sync ]] || return 0 # not a git repo - local reset=$'\e[0m' # no color - local clean=$'\e[38;5;076m' # green foreground - local untracked=$'\e[38;5;014m' # teal foreground - local modified=$'\e[38;5;011m' # yellow foreground - local conflicted=$'\e[38;5;196m' # red foreground + local reset=$'\001\e[0m\002' # no color + local clean=$'\001\e[38;5;076m\002' # green foreground + local untracked=$'\001\e[38;5;014m\002' # teal foreground + local modified=$'\001\e[38;5;011m\002' # yellow foreground + local conflicted=$'\001\e[38;5;196m\002' # red foreground local p |