dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

.pryrc (279B)


1
2
3
4
5
6
7
8
9
10
11
#
# author   : Xu Xiaodong <[email protected]>
# modified : 2012 Jul 22
#

require 'term/ansicolor'

include Term::ANSIColor

Pry.config.editor = "vim"
Pry.config.prompt = proc { |obj, nest_level, _| "#{magenta}#{RUBY_VERSION}) #{yellow}#{nest_level}.#{obj} #{green}> #{reset}" }