diff options
author | L.C. Karssen <lennart@karssen.org> | 2015-07-27 17:53:36 +0200 |
---|---|---|
committer | L.C. Karssen <lennart@karssen.org> | 2016-01-13 10:00:32 +0100 |
commit | 18801e25d26c6a10c39e9ef9eeecd8921e9de4c7 (patch) | |
tree | 1bd4c02247b56d31fb1968c514d282cb5aa8ae2e | |
parent | ceca00a50354c3c3aaceae6ce40caacf24d0bb54 (diff) | |
download | zsh-18801e25d26c6a10c39e9ef9eeecd8921e9de4c7.tar.gz zsh-18801e25d26c6a10c39e9ef9eeecd8921e9de4c7.tar.bz2 zsh-18801e25d26c6a10c39e9ef9eeecd8921e9de4c7.zip |
Shorter way of creating bold colours in a ZSH theme (applied to the avit theme).
-rw-r--r-- | themes/avit.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme index 21478a354..fc6b00455 100644 --- a/themes/avit.zsh-theme +++ b/themes/avit.zsh-theme @@ -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() { |