Skip to content

Instantly share code, notes, and snippets.

@phatograph
Created August 1, 2012 16:10
Show Gist options
  • Save phatograph/3228293 to your computer and use it in GitHub Desktop.
Save phatograph/3228293 to your computer and use it in GitHub Desktop.
My custom .zsh-theme
PROMPT='
%{$fg[cyan]%}%d %{$fg_bold[blue]%}$(git_prompt_info)
%{$fg_bold[red]%}$ %{$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