ceca00a50354c3c3aaceae6ce40caacf24d0bb54
- Author
- L.C. Karssen <lennart@karssen.org>
- Committer
- L.C. Karssen <lennart@karssen.org>
- Date
Message
Adapt some colours in the avit theme for better visibility in the default Ubuntu terminal theme.
Diff
1diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
2index f9a928277dd7a9a7951d799a2e26f9033f9e2a1f..21478a354ac7385ac246ab52203d14085c1d7622 100644
3--- a/themes/avit.zsh-theme
4+++ b/themes/avit.zsh-theme
5@@ -8,8 +8,8 @@ PROMPT2='%{$fg[grey]%}◀%{$reset_color%} '
6
7 RPROMPT='$(_vi_status)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
8
9-local _current_dir="%{$fg[blue]%}%3~%{$reset_color%} "
10-local _return_status="%{$fg[red]%}%(?..⍉)%{$reset_color%}"
11+local _current_dir="%{$terminfo[bold]$fg[blue]%}%3~%{$reset_color%} "
12+local _return_status="%{$terminfo[bold]$fg[red]%}%(?..⍉)%{$reset_color%}"
13 local _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
14
15 function _user_host() {
16@@ -85,13 +85,13 @@ ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%}⚑ "
17 ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}✖ "
18 ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}▴ "
19 ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}§ "
20-ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[grey]%}◒ "
21+ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[white]%}◒ "
22
23 # Colors vary depending on time lapsed.
24 ZSH_THEME_GIT_TIME_SINCE_COMMIT_SHORT="%{$fg[green]%}"
25 ZSH_THEME_GIT_TIME_SHORT_COMMIT_MEDIUM="%{$fg[yellow]%}"
26 ZSH_THEME_GIT_TIME_SINCE_COMMIT_LONG="%{$fg[red]%}"
27-ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRAL="%{$fg[grey]%}"
28+ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRAL="%{$fg[white]%}"
29
30 # LS colors, made with http://geoff.greer.fm/lscolors/
31 export LSCOLORS="exfxcxdxbxegedabagacad"