summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorJarin Udom <jarin@robotmodehq.com>2014-06-10 07:24:38 -0700
committerJarin Udom <jarin@robotmodehq.com>2014-11-10 18:42:31 -0800
commitd0f3fb3a4fdce51e1f59bdf4817c7adec80b0784 (patch)
tree4841391b699cb8a4222af8a6daf5319ce444ea29 /themes
parentdf5b09e20b05a5ba4234599602f7a74934c916db (diff)
downloadzsh-d0f3fb3a4fdce51e1f59bdf4817c7adec80b0784.tar.gz
zsh-d0f3fb3a4fdce51e1f59bdf4817c7adec80b0784.tar.bz2
zsh-d0f3fb3a4fdce51e1f59bdf4817c7adec80b0784.zip
Merge simplified superjarin theme
Diffstat (limited to 'themes')
-rw-r--r--themes/superjarin.zsh-theme10
1 files changed, 2 insertions, 8 deletions
diff --git a/themes/superjarin.zsh-theme b/themes/superjarin.zsh-theme
index 2920d17a2..86fa9c706 100644
--- a/themes/superjarin.zsh-theme
+++ b/themes/superjarin.zsh-theme
@@ -1,11 +1,5 @@
-# Grab the current version of ruby in use (via RVM): [ruby-1.8.7]
-if [ -e ~/.rvm/bin/rvm-prompt ]; then
- JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}"
-else
- if which rbenv &> /dev/null; then
- JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg[white]%}]%{$reset_color%}"
- fi
-fi
+# Grab the current version of ruby in use: [ruby-1.8.7]
+JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(ruby_prompt_info)%{$fg[white]%}]%{$reset_color%}"
# Grab the current filepath, use shortcuts: ~/Desktop
# Append the current git branch, if in a git repository