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
Oh My Zsh
Commits
0118e182
Commit
0118e182
authored
Jun 05, 2013
by
Michael LaCorte
Browse files
Fixed color on git prompt for superjarin theme
parent
86a889ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/superjarin.zsh-theme
View file @
0118e182
...
...
@@ -11,13 +11,13 @@ fi
# Append the current git branch, if in a git repository
JARIN_CURRENT_LOCA_="%{$fg_bold[cyan]%}%~\$(git_prompt_info)%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%} <%{$fg[magenta]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$
reset_color
%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$
fg[white]
%}"
# Do nothing if the branch is clean (no changes).
ZSH_THEME_GIT_PROMPT_CLEAN="%{$
reset_color
%}>"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$
fg[white]
%}>"
# Add a yellow ✗ if the branch is dirty
ZSH_THEME_GIT_PROMPT_DIRTY="%{$
reset_color
%}> %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$
fg[white]
%}> %{$fg[yellow]%}✗"
# Put it all together!
PROMPT="$JARIN_CURRENT_RUBY_ $JARIN_CURRENT_LOCA_ "
...
...
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