Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added thatmiddleway theme #1106

Closed
wants to merge 1 commit into from

2 participants

@jtmkrueger

This is the theme I have been using for a while. Clean and simple.

Here's a link to a picture of it: http://cloud.jtmkrueger.com/0i2v0j3F3V2P2O0L3y2c

@robbyrussell
Owner

Thanks for sending this across. However, per the README file ( https://github.com/robbyrussell/oh-my-zsh ) at this point in time... I am not going to be accepting any new themes for a while. My aim is to work out a new solution for how to manage user theme contributions better in the future, but am thinking that 100+ is already too many for folks to browse/select from. :-)

Be sure to follow @ohmyzsh on twitter ( http://twitter.com/ohmyzsh ) to stay tuned for when we might have a good location for such themes.

ProTip: If you have a custom theme and want to use it... you might check out this (poorly documented) feature from pull-request #1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 3, 2012
  1. @jtmkrueger

    added thatmiddleway theme

    jtmkrueger authored
This page is out of date. Refresh to see the latest.
Showing with 21 additions and 0 deletions.
  1. +21 −0 themes/thatmiddleway.zsh-theme
View
21 themes/thatmiddleway.zsh-theme
@@ -0,0 +1,21 @@
+# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
+
+local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
+local current_dir='%{$fg[blue]%} %~%{$reset_color%}'
+local rvm_ruby=''
+if which rvm-prompt &> /dev/null; then
+ rvm_ruby='%{$terminfo[bold]$fg[green]%}$(rvm-prompt i v g)%{$reset_color%}'
+else
+ if which rbenv &> /dev/null; then
+ rvm_ruby='%{$fg[red]%}($(rbenv version | sed -e "s/ (set.*$//"))%{$reset_color%}'
+ fi
+fi
+local git_branch='$(git_prompt_info)%{$reset_color%}'
+
+PROMPT="${current_dir} ${git_branch} ${rvm_ruby}
+%B->%b "
+RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[yellow]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})"
Something went wrong with that request. Please try again.