mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Merge commit '7759063b74'
This commit is contained in:
commit
f4668bc194
2 changed files with 25 additions and 13 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue