Skip to content

Instantly share code, notes, and snippets.

@angelikatyborska
Created August 8, 2020 14:28
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 angelikatyborska/29314732430460f95638a0fe60b1475b to your computer and use it in GitHub Desktop.
Save angelikatyborska/29314732430460f95638a0fe60b1475b to your computer and use it in GitHub Desktop.
# requires the git-prompt zsh plugin, which in turn requires python2
PROMPT="%{$fg[blue]%}%n%{$reset_color%} in "
PROMPT+='%{$fg[cyan]%}%~%{$reset_color%} $(git_super_status)'
PROMPT+='
%(?:%{$fg_bold[green]%}$ :%{$fg_bold[red]%}$ )%{$reset_color%}'
RPROMPT=''
ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg[red]%}%{∙%G%}"
ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[red]%}%{×%G%}"
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[green]%}%{+%G%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment