d0f3fb3a4fdce51e1f59bdf4817c7adec80b0784

Author
Jarin Udom <jarin@robotmodehq.com>
Committer
Jarin Udom <jarin@robotmodehq.com>
Date

Message

Merge simplified superjarin theme

Diff

 1diff --git a/themes/superjarin.zsh-theme b/themes/superjarin.zsh-theme
 2index 2920d17a2831168a491c18d20b066ea570cb28f2..86fa9c706dfc4a6047934995be290d83e81af504 100644
 3--- a/themes/superjarin.zsh-theme
 4+++ b/themes/superjarin.zsh-theme
 5@@ -1,11 +1,5 @@
 6-# Grab the current version of ruby in use (via RVM): [ruby-1.8.7]
 7-if [ -e ~/.rvm/bin/rvm-prompt ]; then
 8-  JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}"
 9-else
10-  if which rbenv &> /dev/null; then
11-    JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg[white]%}]%{$reset_color%}"
12-  fi
13-fi
14+# Grab the current version of ruby in use: [ruby-1.8.7]
15+JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(ruby_prompt_info)%{$fg[white]%}]%{$reset_color%}"
16 
17 # Grab the current filepath, use shortcuts: ~/Desktop
18 # Append the current git branch, if in a git repository