bug-bash
[Top][All Lists]
Advanced

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

Re: Improvement to bash history browsing.


From: Chet Ramey
Subject: Re: Improvement to bash history browsing.
Date: Wed, 31 Dec 2008 15:39:58 -0500
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

Kamil Neczaj wrote:

> Description:
>       I have an idea to improve bash. Every command run from bash is stored
> in the history. The user can go through commands' history by pressing up
> and down arrows. Sometimes one command is run several times, after that
> the user want to run the previous command and he press up arrow several
> times. I suggest to limit number of up arrow pressing to one even if the
> command was run several times.

Please read the descriptions of the HISTIGNORE and HISTCONTROL shell
variables in the bash documentation.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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