aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2015-01-05 13:00:52 +0100
committerMathias Bynens <mathias@qiwi.be>2015-01-05 13:00:52 +0100
commitf7f6230408b202b1dc8c775c3c8629eef1a00b14 (patch)
treeab4cc7dc0c61863b9b4d86ad802360368d63a038
parent216a63328e9df1479c0f4790444afaccd16c80e5 (diff)
downloaddotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.tar.gz
dotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.tar.bz2
dotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.zip
.exports: Set `HISTCONTROL`
Omit duplicates and commands that begin with a space from history.
-rw-r--r--.exports31
1 files changed, 15 insertions, 16 deletions
diff --git a/.exports b/.exports
index 91c6098..79d32d5 100644
--- a/.exports
+++ b/.exports
@@ -1,22 +1,21 @@
-# Make vim the default editor
-export EDITOR="vim";
+# Make vim the default editor.
+export EDITOR='vim';
-# Larger bash history (allow 32³ entries; default is 500)
-export HISTSIZE=32768;
-export HISTFILESIZE=$HISTSIZE;
-export HISTCONTROL=ignoredups;
-# Make some commands not show up in history
-export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help";
+# Increase Bash history size. Allow 32³ entries; the default is 500.
+export HISTSIZE='32768';
+export HISTFILESIZE="${HISTSIZE}";
+# Omit duplicates and commands that begin with a space from history.
+export HISTCONTROL='ignoreboth';
-# Prefer US English and use UTF-8
-export LANG="en_US.UTF-8";
-export LC_ALL="en_US.UTF-8";
+# Prefer US English and use UTF-8.
+export LANG='en_US.UTF-8';
+export LC_ALL='en_US.UTF-8';
-# Highlight section titles in manual pages
+# Highlight section titles in manual pages.
export LESS_TERMCAP_md="${yellow}";
-# Don’t clear the screen after quitting a manual page
-export MANPAGER="less -X";
+# Don’t clear the screen after quitting a manual page.
+export MANPAGER='less -X';
-# Always enable colored `grep` output
-export GREP_OPTIONS="--color=auto";
+# Always enable colored `grep` output.
+export GREP_OPTIONS='--color=auto';