mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
fixing messed up bold formatting
This commit is contained in:
parent
102f6eb1f1
commit
cba44e796f
1 changed files with 3 additions and 3 deletions
|
|
@ -2,9 +2,9 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
||||||
local userhostcolor='green'
|
local userhostcolor='green'
|
||||||
|
|
||||||
local time='%{$fg_bold[cyan]%}%T%{$reset_color%}'
|
local time='%{$fg[cyan]%}%T%{$reset_color%}'
|
||||||
local user_host='%{$terminfo[bold]$fg[$userhostcolor]%}%n%{$fg[magenta]%}@$reset_color$fg[$userhostcolor]%}%m%'
|
local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%'
|
||||||
local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}'
|
local current_dir='%{$fg_bold[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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue