forked from extern/ohmyzsh
added comment for auto-generated hostname color
This commit is contained in:
parent
c2d42f5a90
commit
0b6e735885
@ -16,6 +16,7 @@ RESET_COLOR="%{$reset_color%}"
|
|||||||
USERNAME_NORMAL_COLOR=$WHITE
|
USERNAME_NORMAL_COLOR=$WHITE
|
||||||
USERNAME_ROOT_COLOR=$RED
|
USERNAME_ROOT_COLOR=$RED
|
||||||
HOSTNAME_NORMAL_COLOR=$BLUE
|
HOSTNAME_NORMAL_COLOR=$BLUE
|
||||||
|
# uncomment next line if you want auto-generated hostname color
|
||||||
#for i in `hostname`; HOSTNAME_NORMAL_COLOR=$COLOR_ARRAY[$[((#i))%7+1]]
|
#for i in `hostname`; HOSTNAME_NORMAL_COLOR=$COLOR_ARRAY[$[((#i))%7+1]]
|
||||||
HOSTNAME_ROOT_COLOR=$RED
|
HOSTNAME_ROOT_COLOR=$RED
|
||||||
HOSTNAME_COLOR=%(!.$HOSTNAME_ROOT_COLOR.$HOSTNAME_NORMAL_COLOR)
|
HOSTNAME_COLOR=%(!.$HOSTNAME_ROOT_COLOR.$HOSTNAME_NORMAL_COLOR)
|
||||||
|
Loading…
Reference in New Issue
Block a user