Re: PS1 \# doesn't take into account HISTIGNORE and HISTCONTROL

2016-06-06 Thread Carlos Morata
Hi, Ok I got it, lesson learnt. :) Thank for your time and cheers. :) El 06/06/16 a las 04:13, Chet Ramey escribió: On 6/2/16 2:43 PM, Carlos Morata wrote: Hi, I think you misunderstod me. I'm really interested in working with relative command history expasions. So I need to work

Re: PS1 \# doesn't take into account HISTIGNORE and HISTCONTROL

2016-06-02 Thread Carlos Morata
sions when you hit HISTCONTROL or HISTIGNORE and that doesn't get well with the principle of least surprise. I prefer to enter just "!-3:2" than "!4563:2", cause I think is way more intuitive. Cheers El 02/06/16 a las 16:34, Chet Ramey escribió: On 6/2/16 6:38 AM,

PS1 \# doesn't take into account HISTIGNORE and HISTCONTROL

2016-06-02 Thread Carlos Morata
Hi, I'm using Fedora 22 and 4.3.42(1)-release. The issue is that \# prompt variable doesn't take into account the value of HISTIGNORE and HISTCONTROL. Steps to reproduce (* when wrong) == $bash --norc bash-4.3$ PS1="C:\#>" C:2>HISTIGNORE="history *" C:3>HISTCONTROL=ignoredups C:4>