Skip to content

Instantly share code, notes, and snippets.

@josh-kaplan
Created March 22, 2017 18:07
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 josh-kaplan/d0af108cf3f6d31a1debf0cc6da8eec2 to your computer and use it in GitHub Desktop.
Save josh-kaplan/d0af108cf3f6d31a1debf0cc6da8eec2 to your computer and use it in GitHub Desktop.
local ret_status="%(?:%{$fg_bold[green]%}∴ :%{$fg_bold[red]%}∴ %s)"
PROMPT='${ret_status}%{$fg_bold[green]%}%p%{$fg_bold[grey]%}%n%{$fg_bold[white]%}@%{$fg_bold[grey]%}%m%{$fg_bold[green]%}%u %{$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