comparison zsh/colors.zsh @ 151:87498dbd779a

Move away from oh-my-zsh
author zegervdv <zegervdv@me.com>
date Mon, 20 Oct 2014 21:49:21 +0200
parents
children
comparison
equal deleted inserted replaced
150:de8d4246c8fe 151:87498dbd779a
1 autoload colors; colors
2
3 # The variables are wrapped in %{%}. This should be the case for every
4 # variable that does not contain space.
5 for COLOR in RED GREEN YELLOW BLUE MAGENTA CYAN BLACK WHITE; do
6 eval PR_$COLOR='%{$fg_no_bold[${(L)COLOR}]%}'
7 eval PR_BOLD_$COLOR='%{$fg_bold[${(L)COLOR}]%}'
8 done
9
10 eval RESET='$reset_color'
11 export PR_RED PR_GREEN PR_YELLOW PR_BLUE PR_WHITE PR_BLACK
12 export PR_BOLD_RED PR_BOLD_GREEN PR_BOLD_YELLOW PR_BOLD_BLUE
13 export PR_BOLD_WHITE PR_BOLD_BLACK
14
15 # Clear LSCOLORS
16 unset LSCOLORS
17
18 # Main change, you can see directories on a dark background
19 #expor tLSCOLORS=gxfxcxdxbxegedabagacad
20
21 export CLICOLOR=1
22 export LS_COLORS=exfxcxdxbxegedabagacad
23