[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix history deletion when using negative offsets (from the e
Re: [PATCH] Fix history deletion when using negative offsets (from the end)
Fri, 26 Feb 2021 12:27:18 -0500
Also somewhat related, deleting a range of history only works if it's
specified oldest to newest. Deleting in the other direction is a noop
(no diagnostic either), e.g.:
history -d 20-10
does nothing if the range 10-20 exists, or prints an `out of range`
error otherwise. It probably makes sense to either print an error, or do
the deletion although the latter would technically be a breaking change.
Just my 2c...
On 02/26/2021 11:53 am, Chet Ramey wrote:
Thanks for the report and fix.