Exclude 'cd' command from history which comes from MC.
--- a/.bashrc Sat Sep 18 06:30:02 2010 +0300
+++ b/.bashrc Sat Sep 18 18:49:25 2010 +0300
@@ -23,7 +23,8 @@
HISTCONTROL=igrorespace:erasedups
# Don't store noisy/dumb items.
-HISTIGNORE=" ?cd ..":"e .":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":"vlc*":ls:pwd
+# TIP: MC command start with space.
+HISTIGNORE=" ?cd ..":" cd *":"e .":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":"vlc*":ls:pwd
# To these options assigned default value, as they satisfy my needs I comment them.
# HISTFILE=~/.bash_history # where is command history stored