Improve HISTIGNORE.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 16 Mar 2010 23:54:05 +0200
changeset 42 8c7465d5f94d
parent 41 d410aac55409
child 43 6c53a61678d7
Improve HISTIGNORE.
.bashrc
--- a/.bashrc	Tue Mar 16 23:51:18 2010 +0200
+++ b/.bashrc	Tue Mar 16 23:54:05 2010 +0200
@@ -23,7 +23,7 @@
 HISTCONTROL=igrorespace:erasedups
 
 # Don't store noisy/dumb items.
-HISTIGNORE=" ?cd *":"e *":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":ls:pwd:"vlc*"
+HISTIGNORE=" ?cd *":"e *":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":"ls ?*":pwd:"vlc*"
 
 # To these options assigned default value, as they satisfy my needs I comment them.
 # HISTFILE=~/.bash_history  # where is command history stored