mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
Shorter way of creating bold colours in a ZSH theme (applied to the avit theme).
This commit is contained in:
parent
ceca00a503
commit
18801e25d2
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ PROMPT2='%{$fg[grey]%}◀%{$reset_color%} '
|
|||
|
||||
RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
|
||||
|
||||
local _current_dir="%{$terminfo[bold]$fg[blue]%}%3~%{$reset_color%} "
|
||||
local _return_status="%{$terminfo[bold]$fg[red]%}%(?..⍉)%{$reset_color%}"
|
||||
local _current_dir="%{$fg_bold[blue]%}%3~%{$reset_color%} "
|
||||
local _return_status="%{$fg_bold[red]%}%(?..⍉)%{$reset_color%}"
|
||||
local _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
|
||||
|
||||
function _user_host() {
|
||||
|
|
Loading…
Reference in a new issue