Skip to content

Instantly share code, notes, and snippets.

@CobyR
Created August 9, 2016 16:44
Show Gist options
  • Save CobyR/226d01034cd9f5c1535166fe0cc1daa6 to your computer and use it in GitHub Desktop.
Save CobyR/226d01034cd9f5c1535166fe0cc1daa6 to your computer and use it in GitHub Desktop.
My OS X prompt
# set prompt
export PS1=`ruby ~/bin/master-prompt.rb`
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 "($(rbenv version-name))".in :red
label " [$(echo $HEROKU_CLOUD)]".in :blue
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