Browse files

Crunch theme (by Stephen Eley)

  • Loading branch information...
1 parent 746a103 commit fadd5f74ce205ddb14735354170150745ae42ca6 @SFEley SFEley committed Feb 22, 2011
Showing with 37 additions and 0 deletions.
  1. +37 −0 themes/crunch.zsh-theme
@@ -0,0 +1,37 @@
+# CRUNCH - created from Steve Eley's cat waxing.
+# Initially hacked from the Dallas theme. Thanks, Dallas Reedy.
+# This theme assumes you do most of your oh-my-zsh'ed "colorful" work at a single machine,
+# and eschews the standard space-consuming user and hostname info. Instead, only the
+# things that vary in my own workflow are shown:
+# * The time (not the date)
+# * The RVM version (omitting the interpreter name if it's just 'ruby')
+# * The current directory
+# * The Git branch and its 'dirty' state
+# Colors are at the top so you can mess with those separately if you like.
+# For the most part I stuck with Dallas's.
+# These Git variables are used by the oh-my-zsh git_prompt_info helper:
+# Our elements:
+CRUNCH_RVM_="$CRUNCH_BRACKET_COLOR"["$CRUNCH_RVM_COLOR\$(~/.rvm/bin/rvm-prompt v g)$CRUNCH_BRACKET_COLOR"]"%{$reset_color%}"
+CRUNCH_DIR_="$CRUNCH_DIR_COLOR%~\$(git_prompt_info) "
+# Put it all together!

0 comments on commit fadd5f7

Please sign in to comment.