[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature: Easily remove current command from history

From: Chet Ramey
Subject: Re: Feature: Easily remove current command from history
Date: Mon, 11 Jan 2016 09:42:31 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 1/8/16 4:01 PM, Piotr Grzybowski wrote:
> On Thu, Jan 7, 2016 at 9:32 PM, Chet Ramey <address@hidden> wrote:
>> On 1/5/16 8:08 AM, Greg Wooledge wrote:
>>> imadev:~$ zap me
>>> bash: zap: command not found
>>> imadev:~$ history -d -1
>>> bash: history: -1: history position out of range
>>> imadev:~$ history -d end
>>> bash: history: end: history position out of range
>>> [..]
>> Yes, this is a reasonable feature to consider for a future version.
>  I cant believe we do not have it already.

Believe it or not, it's not a heavily-requested feature.

I'll take a look at your patch, but I am not going to be adding any more
features to bash-4.4 in favor of release engineering.  If it's right, and
I have no reason to think it's not, it will be in a future release.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]