Created
August 14, 2013 17:35
-
-
Save jarhart/6233397 to your computer and use it in GitHub Desktop.
This file contains 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
theme_jarhart() { | |
ZSH_PROMPT_BASE_COLOR="%{$fg_bold[black]%}" | |
ZSH_THEME_REPO_NAME_COLOR="%{$fg[cyan]%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX=" $ZSH_PROMPT_BASE_COLOR($ZSH_THEME_REPO_NAME_COLOR" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="$ZSH_PROMPT_BASE_COLOR)" | |
ZSH_THEME_GIT_PROMPT_CLEAN='' | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗" | |
ZSH_THEME_HG_PROMPT_PREFIX=" (" | |
ZSH_THEME_HG_PROMPT_SUFFIX='' | |
ZSH_THEME_HG_PROMPT_CLEAN=')' | |
ZSH_THEME_HG_PROMPT_DIRTY="%{$fg[yellow]%}✗$ZSH_PROMPT_BASE_COLOR)" | |
ZSH_THEME_RVM_PROMPT_OPTIONS=(i v g) | |
ZSH_THEME_RVM_PROMPT_PREFIX="%{$fg[red]%}" | |
ZSH_THEME_RVM_PROMPT_SUFFIX="%{$reset_color%}" | |
local cwd="%{$fg_bold[blue]%}%~$ZSH_PROMPT_BASE_COLOR" | |
local repo_prompt_info='$(git_prompt_info)$(hg_prompt_info)' | |
local prompt_char=" $ZSH_PROMPT_BASE_COLOR%(!.#.») " | |
PROMPT="$cwd$repo_prompt_info$prompt_char%{$reset_color%}" | |
RPROMPT='$(rvm_prompt_info)' | |
ZSH_THEME_TERM_TITLE_IDLE="%~" | |
} | |
theme_jarhart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment