Skip to content

Instantly share code, notes, and snippets.

@renatomefi
Created June 3, 2015 00:51
Show Gist options
  • Save renatomefi/db70fb4ddcffc5a3f9a3 to your computer and use it in GitHub Desktop.
Save renatomefi/db70fb4ddcffc5a3f9a3 to your computer and use it in GitHub Desktop.
My oh-my-zsh theme
local ret_status="%(?:%{$fg_bold[green]%}#:%{$fg_bold[red]%}#%s)"
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[blue]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[cyan]%}% %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[cyan]%}) %{$fg[yellow]%}✗%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[cyan]%}) "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment