3 # Grab the current date (%D) and time (%T) wrapped in {}: {%D %T}
 
   4 DALLAS_CURRENT_TIME_="%{$fg[white]%}{%{$fg[yellow]%}%D %T%{$fg[white]%}}%{$reset_color%}"
 
   5 # Grab the current version of ruby in use (via RVM): [ruby-1.8.7]
 
   6 if which rvm-prompt &> /dev/null; then
 
   7   DALLAS_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[magenta]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}"
 
   9   if which rbenv &> /dev/null; then
 
  10     DALLAS_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[magenta]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg[white]%}]%{$reset_color%}"
 
  13 # Grab the current machine name: muscato
 
  14 DALLAS_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}"
 
  15 # Grab the current filepath, use shortcuts: ~/Desktop
 
  16 # Append the current git branch, if in a git repository: ~aw@master
 
  17 DALLAS_CURRENT_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}"
 
  18 # Grab the current username: dallas
 
  19 DALLAS_CURRENT_USER_="%{$fg[red]%}%n%{$reset_color%}"
 
  20 # Use a % for normal users and a # for privelaged (root) users.
 
  21 DALLAS_PROMPT_CHAR_="%{$fg[white]%}%(!.#.%%)%{$reset_color%}"
 
  22 # For the git prompt, use a white @ and blue text for the branch name
 
  23 ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}@%{$fg[blue]%}"
 
  24 # Close it all off by resetting the color and styles.
 
  25 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
 
  26 # Do nothing if the branch is clean (no changes).
 
  27 ZSH_THEME_GIT_PROMPT_CLEAN=""
 
  28 # Add 3 cyan ✗s if this branch is diiirrrty! Dirty branch!
 
  29 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[cyan]%}✗✗✗"
 
  31 # Put it all together!
 
  32 PROMPT="$DALLAS_CURRENT_TIME_$DALLAS_CURRENT_RUBY_$DALLAS_CURRENT_MACH_$DALLAS_CURRENT_LOCA_ $DALLAS_CURRENT_USER_$DALLAS_PROMPT_CHAR_ "