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
Ohmyzsh
Commits
0b6e7358
Commit
0b6e7358
authored
Mar 05, 2013
by
Michele Bologna
Browse files
added comment for auto-generated hostname color
parent
c2d42f5a
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/michelebologna.zsh-theme
View file @
0b6e7358
...
@@ -16,6 +16,7 @@ RESET_COLOR="%{$reset_color%}"
...
@@ -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)
...
...
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