Created
November 25, 2011 22:27
-
-
Save brentertz/1394563 to your computer and use it in GitHub Desktop.
An oh-my-zsh theme for QuickLeft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# QuickLeft theme for oh-my-zsh. | |
# Requires rvm or rbenv plugin (rbenv plugin - https://github.com/robbyrussell/oh-my-zsh/pull/670) | |
DEFAULT_TEXT_COLOR=$fg[white] | |
PROMPT_PREFIX_COLOR=$fg[white] | |
PROMPT_SUFFIX_COLOR=$fg[blue] | |
PROMPT_DIR_COLOR=$fg[yellow] | |
RUBY_PROMPT_COLOR=$fg[blue] | |
RUBY_PROMPT_INFO_COLOR=$fg[yellow] | |
GIT_PROMPT_COLOR=$fg[blue] | |
GIT_PROMPT_INFO_COLOR=$fg[yellow] | |
GIT_PROMPT="%{$GIT_PROMPT_COLOR%}[%{$GIT_PROMPT_INFO_COLOR%}\$(git_prompt_info) \$(git_prompt_status)%{$GIT_PROMPT_COLOR%}]" | |
# Show ruby version info using 'rbenv' or 'rvm' plugins | |
for plugin ($plugins); do | |
if [[ $plugin = 'rvm' ]]; then | |
RUBY_PROMPT="%{$RUBY_PROMPT_COLOR%}[%{$RUBY_PROMPT_INFO_COLOR%}\${\$(rvm-prompt)#ruby-}%{$RUBY_PROMPT_COLOR%}]" | |
elif [[ $plugin = 'rbenv' ]]; then | |
RUBY_PROMPT="%{$RUBY_PROMPT_COLOR%}[%{$RUBY_PROMPT_INFO_COLOR%}\${\$(rbenv_prompt_info)%%-*}%{$RUBY_PROMPT_COLOR%}]" | |
fi | |
done | |
PROMPT="%{$PROMPT_PREFIX_COLOR%}ℚüḯ¢кḺ℮ḟт%{$reset_color%} : %{$PROMPT_DIR_COLOR%}%c %{$PROMPT_SUFFIX_COLOR%}» " | |
RPROMPT="$RUBY_PROMPT$GIT_PROMPT%{$DEFAULT_TEXT_COLOR%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="" | |
ZSH_THEME_GIT_PROMPT_DIRTY="" | |
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔" | |
ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚" | |
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹" | |
ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖" | |
ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜" | |
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═" | |
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment