diff options
author | Mathias Bynens <mathias@qiwi.be> | 2015-01-05 13:00:52 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2015-01-05 13:00:52 +0100 |
commit | f7f6230408b202b1dc8c775c3c8629eef1a00b14 (patch) | |
tree | ab4cc7dc0c61863b9b4d86ad802360368d63a038 /.exports | |
parent | 216a63328e9df1479c0f4790444afaccd16c80e5 (diff) | |
download | dotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.tar.gz dotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.tar.bz2 dotfiles-f7f6230408b202b1dc8c775c3c8629eef1a00b14.zip |
.exports: Set `HISTCONTROL`
Omit duplicates and commands that begin with a space from history.
Diffstat (limited to '.exports')
-rw-r--r-- | .exports | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -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'; |