Skip to content
This repository

Another theme. #581

wants to merge 2 commits into from

2 participants

Ivan Giacomelli Robby Russell
Ivan Giacomelli

A simple theme with coloured prompt and git/ruby overview on the right side.

Robby Russell

Thanks for sending this across. However, 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 ( ) 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

Showing 2 unique commits by 1 author.

Sep 01, 2011
Ivan Giacomelli truemilk Added 'truemilk' theme. 6d5e799
Ivan Giacomelli truemilk Small changes to theme file. 129bd12
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +15 0 themes/truemilk.zsh-theme
15 themes/truemilk.zsh-theme
... ... @@ -0,0 +1,15 @@
  1 +if [ $UID -eq 0 ];
  2 + then NCOLOR="red";
  3 +else
  4 + NCOLOR="green";
  5 +fi
  6 +
  7 +local return_code="%(?..%{$fg[red]%}<%?>%{$reset_color%})"
  8 +
  9 +PROMPT='%{$terminfo[bold]$fg[$NCOLOR]%}%n%{$reset_color%} %{$terminfo[bold]$fg[blue]%}%~%{$reset_color%} $ '
  10 +RPROMPT='${return_code} %{$fg[yellow]%}$(git_prompt_info)%{$reset_color%} <$(~/.rvm/bin/rvm-prompt i v g)>'
  11 +

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.