Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
18801e25
Commit
18801e25
authored
Jul 27, 2015
by
L.C. Karssen
Browse files
Shorter way of creating bold colours in a ZSH theme (applied to the avit theme).
parent
ceca00a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/avit.zsh-theme
View file @
18801e25
...
...
@@ -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() {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment