Re: bash_history

Hi, Adam!

is there any way to stop mc from filling up my bash history with:

PROMPT_COMMAND='pwd>&9;kill -STOP $$'
cd "`echo -e 
cd "`echo -e '\057\165\163\162\057\154\151\142'`"
etc etc

mc-4.5.55 sets environment variable HISTCONTROL to "ignorespace".  Either 
it's not set by MC due to a bug, or it's unset in your statup scripts, or 
your bash ignores it.  Run this command from mc:


Try setting HISTCONTROL=ignorespace and then check if bash remembers in
its history commands starting with a space.

Pavel Roskin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]