Skip to content

Instantly share code, notes, and snippets.

@snicol
Created October 21, 2011 10:30
Show Gist options
  • Save snicol/1303532 to your computer and use it in GitHub Desktop.
Save snicol/1303532 to your computer and use it in GitHub Desktop.
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='%{$fg[cyan]%}[%m/%n]%{$fg[red]%}|%{$fg[green]%}[%2~]%{$reset_color%}%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment