Make ingnore pattern less restrictive for 'cd' and 'ls' command.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 06 Aug 2010 16:03:36 +0300
changeset 93 afa75cfe3d17
parent 92 92f5fb787ec4
child 94 af9a0019fa66
Make ingnore pattern less restrictive for 'cd' and 'ls' command.
.bashrc
--- a/.bashrc	Wed Aug 04 23:05:43 2010 +0300
+++ b/.bashrc	Fri Aug 06 16:03:36 2010 +0300
@@ -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 *":"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