prompt colors changed
This commit is contained in:
parent
bd87936113
commit
b511d9b14f
|
@ -8,7 +8,7 @@
|
|||
function my_git_prompt_info() {
|
||||
ref=$(git symbolic-ref HEAD 2> /dev/null) || \
|
||||
ref=$(git rev-parse --short HEAD 2> /dev/null) || return
|
||||
echo "$ZSH_THEME_GIT_PROMPT_PREFIX $(parse_git_dirty)${ref#refs/heads/} %F{006}\uf126 $ZSH_THEME_GIT_PROMPT_SUFFIX"
|
||||
echo "$ZSH_THEME_GIT_PROMPT_PREFIX $(parse_git_dirty)${ref#refs/heads/} %F{007}\uf126 $ZSH_THEME_GIT_PROMPT_SUFFIX"
|
||||
}
|
||||
|
||||
function get_pwd() {
|
||||
|
@ -46,12 +46,16 @@ function user_sign () {
|
|||
}
|
||||
|
||||
function path_icon () {
|
||||
echo "%F{007} \uf0c1"
|
||||
echo "%F{0033}\uf0c1"
|
||||
}
|
||||
|
||||
function code_icon () {
|
||||
echo "%F{007}\uf121 "
|
||||
}
|
||||
|
||||
PROMPT='
|
||||
$(user_sign) $(path_icon) %F{003}%~%F{008}$(spaces) $(my_git_prompt_info)
|
||||
%f'
|
||||
$(code_icon)%f'
|
||||
|
||||
# git settings
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%F{002}["
|
||||
|
|
Loading…
Reference in New Issue