From f7f6230408b202b1dc8c775c3c8629eef1a00b14 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Mon, 5 Jan 2015 13:00:52 +0100 Subject: .exports: Set `HISTCONTROL` Omit duplicates and commands that begin with a space from history. --- .exports | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to '.exports') 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'; -- cgit v1.2.3