Skip to content

Instantly share code, notes, and snippets.

@otterthecat
Last active January 6, 2018 23:56
Show Gist options
  • Save otterthecat/5fa2dbc8283ab7a3afb8f6ff843e79b7 to your computer and use it in GitHub Desktop.
Save otterthecat/5fa2dbc8283ab7a3afb8f6ff843e79b7 to your computer and use it in GitHub Desktop.
## GIT PROMPT DISPLAY
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%} ✚"
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[red]%} ⇡"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[014]%} ✭"
PROMPT='$FG[008][%*]%{$reset_color%} $FG[004]%~%{$reset_color%} $FG[006]$(git_current_branch)%{$reset_color%}$(git_prompt_status)
$FG[002]❯%{$reset_color%} '
## RIGHT SIDE OF TERMINAL
## "true" goes inside the dots,"false" immediately after
RPS1='%(?..❌ )%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment