HISTCONTROL set in '~/.bashrc'.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 03 Nov 2010 16:03:19 +0200
changeset 108 7e0a2fb90c5a
parent 107 43f69ef5ec58
child 109 40feef132306
HISTCONTROL set in '~/.bashrc'.
.mc/bashrc
--- a/.mc/bashrc	Wed Nov 03 16:00:13 2010 +0200
+++ b/.mc/bashrc	Wed Nov 03 16:03:19 2010 +0200
@@ -1,9 +1,6 @@
 # -*- mode: sh -*-
 
-#   ignorespace do not save lines that start with space
-#   erasedups all previous lines matching the current line to be removed from
-#             the history list before that line is saved
-export HISTCONTROL=igrorespace:erasedups
+# TIP: MC command start with space.
 export HISTIGNORE=$HISTIGNORE:\
 " cd *":" e *":\
 " sudo mv*":" sudo rm*":" sudo cp*":" sudo mkdir*":" sudo chmod *":" sudo chown *":\