# HG changeset patch # User Oleksandr Gavenko # Date 1288792999 -7200 # Node ID 7e0a2fb90c5acd1cfd72089ff106487964b73065 # Parent 43f69ef5ec58234c038494bfc11d5c3c647c741e HISTCONTROL set in '~/.bashrc'. diff -r 43f69ef5ec58 -r 7e0a2fb90c5a .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 *":\