| 1 | 1 | new file mode 100644 | 
                    
                | ... | ... | @@ -0,0 +1,17 @@ | 
                    
                |  | 0 | +# Based on robbyrussell's theme, with host and rvm indicators. Example: | 
                    
                |  | 1 | +# @host ➜ currentdir rvm:(rubyversion@gemset) git:(branchname) | 
                    
                |  | 2 | + | 
                    
                |  | 3 | +# Get the current ruby version in use with RVM: | 
                    
                |  | 4 | +if [ -e ~/.rvm/bin/rvm-prompt ]; then | 
                    
                |  | 5 | +    RUBY_PROMPT_="%{$fg_bold[blue]%}rvm:(%{$fg[green]%}\$(~/.rvm/bin/rvm-prompt s i v g)%{$fg_bold[blue]%})%{$reset_color%} " | 
                    
                |  | 6 | +fi | 
                    
                |  | 7 | + | 
                    
                |  | 8 | +# Get the host name (first 4 chars) | 
                    
                |  | 9 | +HOST_PROMPT_="%{$fg_bold[red]%}@$HOST[0,4] ➜  %{$fg_bold[cyan]%}%c " | 
                    
                |  | 10 | +GIT_PROMPT="%{$fg_bold[blue]%}\$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}" | 
                    
                |  | 11 | +PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT" | 
                    
                |  | 12 | + | 
                    
                |  | 13 | +ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | 
                    
                |  | 14 | +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | 
                    
                |  | 15 | +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" | 
                    
                |  | 16 | +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |