mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-13 17:30:08 +00:00
fix(ys): use default color instead of gray for improved readability (#10506)
This commit is contained in:
parent
9a3d853481
commit
f42aa49cfd
1 changed files with 4 additions and 6 deletions
|
@ -5,10 +5,8 @@
|
||||||
#
|
#
|
||||||
# Mar 2013 Yad Smood
|
# Mar 2013 Yad Smood
|
||||||
|
|
||||||
typeset +H my_gray="$FG[247]"
|
|
||||||
|
|
||||||
# VCS
|
# VCS
|
||||||
YS_VCS_PROMPT_PREFIX1=" %{$my_gray%}on%{$reset_color%} "
|
YS_VCS_PROMPT_PREFIX1=" %{$reset_color%}on%{$fg[blue]%} "
|
||||||
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}"
|
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}"
|
||||||
YS_VCS_PROMPT_SUFFIX="%{$reset_color%}"
|
YS_VCS_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
YS_VCS_PROMPT_DIRTY=" %{$fg[red]%}x"
|
YS_VCS_PROMPT_DIRTY=" %{$fg[red]%}x"
|
||||||
|
@ -62,13 +60,13 @@ local exit_code="%(?,,C:%{$fg[red]%}%?%{$reset_color%})"
|
||||||
PROMPT="
|
PROMPT="
|
||||||
%{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
|
%{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
|
||||||
%(#,%{$bg[yellow]%}%{$fg[black]%}%n%{$reset_color%},%{$fg[cyan]%}%n) \
|
%(#,%{$bg[yellow]%}%{$fg[black]%}%n%{$reset_color%},%{$fg[cyan]%}%n) \
|
||||||
%{$my_gray%}@ \
|
%{$reset_color%}@ \
|
||||||
%{$fg[green]%}%m \
|
%{$fg[green]%}%m \
|
||||||
%{$my_gray%}in \
|
%{$reset_color%}in \
|
||||||
%{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\
|
%{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\
|
||||||
${hg_info}\
|
${hg_info}\
|
||||||
${git_info}\
|
${git_info}\
|
||||||
${venv_info}\
|
${venv_info}\
|
||||||
\
|
\
|
||||||
%{$my_gray%}[%*] $exit_code
|
[%*] $exit_code
|
||||||
%{$terminfo[bold]$fg[red]%}$ %{$reset_color%}"
|
%{$terminfo[bold]$fg[red]%}$ %{$reset_color%}"
|
||||||
|
|
Loading…
Reference in a new issue