Sha256: 3d31a2c8636d0c7a2bc0fdff9dfc2dbc9913e61fa4d9c8a131a8f9e2e7417c7b
Contents?: true
Size: 795 Bytes
Versions: 3
Compression:
Stored size: 795 Bytes
Contents
# === CUSTOM PROMPT === # This prompt shows the ruby version (useful for RVM) Pry.prompt = [ proc { |obj, nest_level, _| "#{RUBY_VERSION} (#{obj}):#{nest_level} > " }, proc { |obj, nest_level, _| "#{RUBY_VERSION} (#{obj}):#{nest_level} * " } ] # === Listing config === # Better colors - by default the headings for methods are too # similar to method name colors leading to a "soup" # These colors are optimized for use with Solarized scheme # for your terminal Pry.config.ls.separator = "\n" # new lines between methods Pry.config.ls.heading_color = :magenta Pry.config.ls.public_method_color = :green Pry.config.ls.protected_method_color = :yellow Pry.config.ls.private_method_color = :bright_black # Disable paging - paging is broken in when using Alpine `less` Pry.config.pager = false
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nib-2.1.1 | config/commands/shell/pryrc |
nib-2.1.0 | config/commands/shell/pryrc |
nib-2.0.2 | config/commands/shell/pryrc |