[PATCH] space on prompt bugfix

Leonard den Ottolander leonard at den.ottolander.nl
Mon Mar 21 21:23:10 UTC 2005


Hi Jindrich,

On Mon, 2005-03-21 at 18:25, Jindrich Novy wrote:
> On Mon, 2005-03-21 at 17:42 +0100, tux at centrum.cz wrote:
> > Not a good idea, since I think if you prepend a space to any command, the command is not saved in bash history - a feature.
> > Sometimes it may be thus desirable to be able to type leading space if you do not want to save the command in history - your patch would disallow this
> 
> Ok, I forgot about this feature, thanks for noticing this.

HISTCONTROL=ignorespace is actually used actively by mc itself to hide
mc commands from the history in subshell.c ;) .

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list