commit 20777f2069ca765a8aa29f27c53343582029428a
parent 660ab8f478023e4e237b0b814ff72efe26a873b0
Author: Chris Bracken <cbracken@google.com>
Date: Thu, 6 Sep 2012 09:43:42 -0700
Merge Ubuntu 12.04 defaults.
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -5,9 +5,9 @@
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
-# don't put duplicate lines in the history. See bash(1) for more options
-# ... or force ignoredups and ignorespace
-HISTCONTROL=ignoredups:ignorespace
+# don't put duplicate lines or lines starting with space in the history.
+# See bash(1) for more options
+HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
@@ -20,6 +20,10 @@ HISTFILESIZE=2000
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
+# If set, the pattern "**" used in a pathname expansion context will
+# match all files and zero or more directories and subdirectories.
+#shopt -s globstar
+
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"