Sha256: d1118d0d507c62b9ffa814d32584978db9e7af459f0c605da8a1b5addcc2f22f
Contents?: true
Size: 792 Bytes
Versions: 2
Compression:
Stored size: 792 Bytes
Contents
require 'hairballs' Hairballs.add_theme(:turboladen_rails) do |theme| theme.libraries do |libs_to_require| libs_to_require += %w( irb/completion looksee colorize ) libs_to_require += case RUBY_PLATFORM when /mswin32|mingw32/ %w(win32console) when /darwin/ %w(terminal-notifier) else [] end end theme.extend_bundler = true theme.prompt do |prompt| prompt.auto_indent = true preface = Hairballs.project_name.light_blue prompt.normal = "#{preface}> " prompt.continued_string = "#{preface}#{'❊%l'.yellow}> " prompt.continued_statement = "#{preface}#{'⇥'.yellow} %i> " prompt.indented_code = "#{preface}#{'⇥'.yellow} %i> " prompt.return_format = "➥ %s\n" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hairballs-0.1.1 | lib/hairballs/themes/turboladen_rails.rb |
hairballs-0.1.0 | lib/hairballs/themes/turboladen_rails.rb |