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

Re: why does the shell show commands foolishly when I press UP key?




On Nov 9, 2007, at 12:39 AM, dulev 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 in ~/.bashrc

export HISTCONTROL=ignoredups


Here I go and mention all these neat opportunities to try out other shells, and bash already has the feature that was requested. Darn(?). :-)

I'm not sure if that makes me happy for bash, or sad that the other shells won't have been tried, just for fun!

--
Nate Duehr
nate@natetech.com





Reply to: