Re: previous command v whitespace following prompt

2012-02-27 Thread Eric Blake
On 02/27/2012 11:59 AM, Duarte Fusco wrote: > hi > > I do this: > $ ls a > a > $ls b > b > > then I press C-p and I get > $ ls a > > I put some whitespace following the prompt before typing ls b. > I was expecting to get the previous command but it gave me the before > previous one. > I

Re: previous command v whitespace following prompt

2012-02-27 Thread Greg Wooledge
On Mon, Feb 27, 2012 at 07:59:41PM +0100, Duarte Fusco wrote: > I put some whitespace following the prompt before typing ls b. > I was expecting to get the previous command but it gave me the before > previous one. HISTCONTROL A colon-separated list of values controlling how comm

previous command v whitespace following prompt

2012-02-27 Thread Duarte Fusco
hi I do this: $ ls a a $ls b b then I press C-p and I get $ ls a I put some whitespace following the prompt before typing ls b. I was expecting to get the previous command but it gave me the before previous one. Is this a bug? best regards Duarte