On Wed, 14 Nov 2007 11:09:35 +0100, Misko wrote:

> On Mon, Nov 12, 2007 at 10:49:49PM -0800, [EMAIL PROTECTED] wrote:
>> 
>> > I often use UP key to get commands entered previously. The shell show some 
>> > commands again and
>> > again, just because I have used them several times. Can the shell be more 
>> > smart?
> 
> Put this line into .bashrc:
> 
> export HISTCONTROL=ignoredups

Mine is 

 export HISTCONTROL=ignoreboth

Even more cleaner. 

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to