[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: command not put into history if it starts with space
From:       Paul Stansell <paulstansell () googlemail ! com>
Date:       2010-02-06 10:55:46
Message-ID: c7749a5b1002060255h694d6310v11820f2a1ceaf530 () mail ! gmail ! com
[Download RAW message or body]

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.
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic