[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command not put into history if it starts with space
From: |
Paul Stansell |
Subject: |
Re: command not put into history if it starts with space |
Date: |
Sat, 6 Feb 2010 10:55:46 +0000 |
Mike,
Thanks, I was unaware of HISTCONTROL.
Paul
On 6 February 2010 09:06, Jan Schampera <jan.schampera@web.de> wrote:
> Mike Frysinger schrieb:
>
>>> When using the bash shell in an xterm or rxvt terminals at least,
>>> commands executed which start with a space, eg " ls" are not added to
>>> the command line history and so are not accessible by ctrl-p.
>>
>> this is by design
>> -mike
>
> This is controlled by the HISTCONTROL and probably HISTIGNORE variables.
> Unless I misunderstood the question.
>
> J.
>