Skip to content

Instantly share code, notes, and snippets.

@ekkinox
Created November 14, 2018 10:55
Show Gist options
  • Save ekkinox/00438e177014a058769ce8bb5562ad90 to your computer and use it in GitHub Desktop.
Save ekkinox/00438e177014a058769ce8bb5562ad90 to your computer and use it in GitHub Desktop.
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%d%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
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