.local/share/mc/bashrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 27 Mar 2015 15:05:50 +0200
changeset 737 ead952765cf1
parent 324 e30f2ac488aa
permissions -rw-r--r--
Add a lot of formats.
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
192
6912914d5c38 Include default bash settings if they available.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 108
diff changeset
     3
if [[ -f $HOME/.bashrc ]]; then
6912914d5c38 Include default bash settings if they available.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 108
diff changeset
     4
  . $HOME/.bashrc
6912914d5c38 Include default bash settings if they available.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 108
diff changeset
     5
fi
6912914d5c38 Include default bash settings if they available.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 108
diff changeset
     6
108
7e0a2fb90c5a HISTCONTROL set in '~/.bashrc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 107
diff changeset
     7
# TIP: MC command start with space.
298
d179d603d9a5 Don't save command from MC. Only from Bash...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 192
diff changeset
     8
export HISTIGNORE=$HISTIGNORE:" *"
d179d603d9a5 Don't save command from MC. Only from Bash...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 192
diff changeset
     9