Skip to content

Instantly share code, notes, and snippets.

@paul
Created January 6, 2012 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paul/1568818 to your computer and use it in GitHub Desktop.
Save paul/1568818 to your computer and use it in GitHub Desktop.
# ZSH Theme - Preview:
local ob='%{$fg[blue]%}[%{$reset_color%}'
local cb='%{$fg[blue]%}]%{$reset_color%}'
local current_dir='%{$fg[green]%}%~'
local rvm_ruby='%{$fg[yellow]%}$(~/.rvm/bin/rvm-prompt i v g)%{$reset_color%}'
local git_branch='$(git_prompt_info)'
PROMPT="${ob}${current_dir}${cb}${ob}${rvm_ruby}${cb}${git_branch}
%B$%b "
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}[%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%}]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}"
ZSH_THEME_TERM_TAB_TITLE_IDLE="%~"
ZSH_THEME_TERM_TITLE_IDLE="%~"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment