[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command not put into history if it starts with space
From: |
Jan Schampera |
Subject: |
Re: command not put into history if it starts with space |
Date: |
Sat, 06 Feb 2010 10:06:15 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
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.