Skip to content

Instantly share code, notes, and snippets.

@cschiewek
Created June 21, 2016 23:32
Show Gist options
  • Save cschiewek/6cb98e2865e3a425b0437a0561879754 to your computer and use it in GitHub Desktop.
Save cschiewek/6cb98e2865e3a425b0437a0561879754 to your computer and use it in GitHub Desktop.
My zsh theme
local ret_status="🙈 %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment