1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

now using listing for aliasing amend-line instead of full regex

This commit is contained in:
John Mair 2011-11-17 23:19:45 +13:00
parent 57fe907c58
commit 8f08cf7300

View file

@ -57,7 +57,7 @@ class Pry
run "show-input"
end
alias_command(/%.?(-?\d+)?(?:\.\.(-?\d+))?/, /amend-line(?: (-?\d+)(?:\.\.(-?\d+))?)?/)
alias_command(/%.?(-?\d+)?(?:\.\.(-?\d+))?/, "amend-line")
command "play", "Play back a string variable or a method or a file as input. Type `play --help` for more information." do |*args|
opts = Slop.parse!(args) do |opt|