Sha256: 97d3de8fd118afb3526bddefb65e6610092ad823f516cfed9716bba21fc8f0be
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
Pry.prompt = [ proc do |target_self, _, pry| target = target_self.to_s == 'main' ? '' : " (#{target_self.to_s.split('::').last})" env = Rash::Shell.environment_with_color "#{pry.config.prompt_name} [#{env}]#{target} % " end, proc do |target_self, _, pry| target = target_self.to_s == 'main' ? '' : " (#{target_self.to_s.split('::').last})" env = Rash::Shell.environment_with_color "#{pry.config.prompt_name} [#{env}]#{target} * " end ]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rash-shell-0.1.1 | lib/rash/shell/pry/prompt.rb |
rash-shell-0.1.0 | lib/rash/shell/pry/prompt.rb |