Remove ? from patterns as I previously incorrectly understand its meaning.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 03 Nov 2010 16:00:13 +0200
changeset 107 43f69ef5ec58
parent 106 6bcd784caf97
child 108 7e0a2fb90c5a
Remove ? from patterns as I previously incorrectly understand its meaning. Whore value in multiline way.
.bashrc
.mc/bashrc
--- a/.bashrc	Wed Nov 03 11:59:09 2010 +0200
+++ b/.bashrc	Wed Nov 03 16:00:13 2010 +0200
@@ -24,7 +24,11 @@
 
 # Don't store noisy/dumb items.
 # 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
+HISTIGNORE=\
+"cd ..":"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
--- a/.mc/bashrc	Wed Nov 03 11:59:09 2010 +0200
+++ b/.mc/bashrc	Wed Nov 03 16:00:13 2010 +0200
@@ -4,4 +4,7 @@
 #   erasedups all previous lines matching the current line to be removed from
 #             the history list before that line is saved
 export HISTCONTROL=igrorespace:erasedups
-export HISTIGNORE=" ?cd *":"e *":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":ls:pwd:"vlc*"
+export HISTIGNORE=$HISTIGNORE:\
+" cd *":" e *":\
+" sudo mv*":" sudo rm*":" sudo cp*":" sudo mkdir*":" sudo chmod *":" sudo chown *":\
+" ls*":" pwd*":" vlc*"