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 | f4668bc1944f98d6ec64f2d9079952050eecaf9a (patch) | |
tree | dd00f923673d59b9d689c323175c8cce176e1683 /gitstatus/gitstatus.prompt.sh | |
parent | 3213e2e17f1695c88959e3b74e3302d628520382 (diff) | |
parent | 7759063b7485ca0701fc8ba1961d0e53568ddd59 (diff) |
Merge commit '7759063b7485ca0701fc8ba1961d0e53568ddd59'
Diffstat (limited to 'gitstatus/gitstatus.prompt.sh')
-rw-r--r-- | gitstatus/gitstatus.prompt.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitstatus/gitstatus.prompt.sh b/gitstatus/gitstatus.prompt.sh index 9c1a2138..f27bcc39 100644 --- a/gitstatus/gitstatus.prompt.sh +++ b/gitstatus/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 |