Skip to content

Instantly share code, notes, and snippets.

@burnsra
Created June 2, 2016 13:54
Show Gist options
  • Save burnsra/fcf398b1532ca487d4898bf581a329d4 to your computer and use it in GitHub Desktop.
Save burnsra/fcf398b1532ca487d4898bf581a329d4 to your computer and use it in GitHub Desktop.
ZSH Theme
PROMPT=$'%(?.%{$fg[magenta]%}⌘.%{$fg[red]%}⌦) %(?.%{$fg[cyan]%}.%{$fg[red]%})%~%{$reset_color%} %{$(git_prompt_info)%}%{$reset_color%}'
PS2=$' %{$fg[red]%}|>%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%(?.%{$fg[yellow]%}.%{$fg[red]%})("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%(?.%{$fg[yellow]%}.%{$fg[red]%})) "
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN=" %(?.%{$fg[green]%}.%{$fg[red]%})✓"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment