Skip to content

Instantly share code, notes, and snippets.

@CobyR
Created April 18, 2012 19:19
Show Gist options
  • Save CobyR/2415890 to your computer and use it in GitHub Desktop.
Save CobyR/2415890 to your computer and use it in GitHub Desktop.
my bash prompt
require 'rubygems'
require 'geek_painter'
master_piece = GeekPainter.paint do
label "\\# \\t ".in(:white)
#label "[".in(:brown)
#label "\\u".in :light_gray
#label "@".in :yellow
#label "\\h".in :light_gray
#label "]".in(:brown)
label "($(~/.rvm/bin/rvm-prompt))".in :red
label " \\w".in :default
label "$(__git_ps1)".in :yellow
label "\\$ ".in :default
end
puts master_piece.prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment