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
be66fe9d
Commit
be66fe9d
authored
Jan 02, 2010
by
Evandro Myller
Browse files
clean theme: username is now bold
parent
96584494
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/clean.zsh-theme
View file @
be66fe9d
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
PROMPT='%{$fg[$NCOLOR]%}%
n
%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
PROMPT='%{$fg[$NCOLOR]%}%
B%n%b
%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
RPROMPT='[%*]'
RPROMPT='[%*]'
# git theming
# git theming
...
...
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