Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

my clean theme #852

Closed
wants to merge 1 commit into from

2 participants

John Griffiths Robby Russell
John Griffiths

shows current dir in purple

if git repo it shows the branch name in brackets in cyan
if there's a pending commit it shows in yellow

John Antoni Griffiths my clean theme 0230eff
Robby Russell
Owner

I appreciated the contribution, but am currently holding off on new themes without up-votes from other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 18, 2012
  1. my clean theme

    John Antoni Griffiths authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 themes/johnantoni.zsh-theme
6 themes/johnantoni.zsh-theme
View
@@ -0,0 +1,6 @@
+ZSH_THEME_GIT_PROMPT_PREFIX="["
+ZSH_THEME_GIT_PROMPT_SUFFIX="]"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_CLEAN=""
+
+PROMPT='%{$fg[magenta]%}%~%{$fg[cyan]%}$(git_prompt_info)%{$reset_color%}# '
Something went wrong with that request. Please try again.