Sha256: 069102a3be5abacad370b62728ae4e171e47784688d368844a7b2b7f74ed3d5d

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

require "pry-byebug"

Pry.commands.alias_command 'c', 'continue'
Pry.commands.alias_command 's', 'step'
Pry.commands.alias_command 'n', 'next'
Pry.commands.alias_command 'f', 'finish'

# https://github.com/pry/pry/issues/1275#issuecomment-131969510
# Prevent issue where text input does not display on screen in container after typing Ctrl-C in a pry repl
at_exit do
  exit!(1)
end

trap('INT') do
  begin
    Pry.run_command "continue", :show_output => true, :target => Pry.current
  rescue
    exit
  end
end
# End pry Ctrl-C workaround

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
relation_to_struct-1.10.0 .pryrc
relation_to_struct-1.9.1 .pryrc
pg_ha_migrations-1.8.0 .pryrc
pg_ha_migrations-1.7.0 .pryrc