author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 13 Mar 2010 15:47:40 +0200 | |
changeset 18 | 2e991b769c95 |
parent 7 | linux/.mc/bashrc@7c403971585d |
child 107 | 43f69ef5ec58 |
permissions | -rw-r--r-- |
7
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
# -*- mode: sh -*- |
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
# ignorespace do not save lines that start with space |
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
# erasedups all previous lines matching the current line to be removed from |
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
# the history list before that line is saved |
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
export HISTCONTROL=igrorespace:erasedups |
7c403971585d
Added history ignore rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
export HISTIGNORE=" ?cd *":"e *":"sudo mv *":"sudo rm *":"sudo cp *":"sudo mkdir *":"sudo chmod *":"sudo chown *":ls:pwd:"vlc*" |