mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
update bolding
This commit is contained in:
parent
cba44e796f
commit
6005d839c1
1 changed files with 3 additions and 3 deletions
|
|
@ -3,13 +3,13 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
local userhostcolor='green'
|
local userhostcolor='green'
|
||||||
|
|
||||||
local time='%{$fg[cyan]%}%T%{$reset_color%}'
|
local time='%{$fg[cyan]%}%T%{$reset_color%}'
|
||||||
local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%'
|
local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%{$reset_color%}'
|
||||||
local current_dir='%{$fg_bold[blue]%} %~%{$reset_color%}'
|
local current_dir='%{$fg[blue]%}%~%{$reset_color%}'
|
||||||
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
||||||
|
|
||||||
PROMPT="${time} ${user_host} ${current_dir} ${git_branch}
|
PROMPT="${time} ${user_host} ${current_dir} ${git_branch}
|
||||||
%{$fg_bold[yellow]%}%B$%b %{$reset_color%}"
|
%{$fg_bold[yellow]%}%B$%b %{$reset_color%}"
|
||||||
RPS1="${return_code}"
|
RPS1="${return_code}"
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}‹"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue