.mc/bashrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 03 Nov 2010 16:00:13 +0200
changeset 107 43f69ef5ec58
parent 18 2e991b769c95
child 108 7e0a2fb90c5a
permissions -rw-r--r--
Remove ? from patterns as I previously incorrectly understand its meaning. Whore value in multiline way.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
107
43f69ef5ec58 Remove ? from patterns as I previously incorrectly understand its meaning.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
     7
export HISTIGNORE=$HISTIGNORE:\
43f69ef5ec58 Remove ? from patterns as I previously incorrectly understand its meaning.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
     8
" cd *":" e *":\
43f69ef5ec58 Remove ? from patterns as I previously incorrectly understand its meaning.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
     9
" sudo mv*":" sudo rm*":" sudo cp*":" sudo mkdir*":" sudo chmod *":" sudo chown *":\
43f69ef5ec58 Remove ? from patterns as I previously incorrectly understand its meaning.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
    10
" ls*":" pwd*":" vlc*"