diff --git a/lib/pry/commands/hist.rb b/lib/pry/commands/hist.rb index 4302683e..4bbf2a20 100644 --- a/lib/pry/commands/hist.rb +++ b/lib/pry/commands/hist.rb @@ -171,7 +171,6 @@ class Pry Pry.history.to_a.last(Pry.history.session_line_count) end - # The last value in history will be the 'hist' command itself Pry::Code(Pry.history.filter(h[0..-2])) end end