Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
18801e25
Commit
18801e25
authored
Jul 27, 2015
by
L.C. Karssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avit.zsh-theme
themes/avit.zsh-theme
+2
-2
No files found.
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