summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-08-09 18:20:56 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-08-09 18:20:56 -0400
commit3ebf64e601014e681b95bfdb12ba5e74f7e59e64 (patch)
tree16c26ec68dae7e54893ae474937a40b11f7d153e
parent01583932af5fd2594e603c5f26591c50217f14c7 (diff)
turn on a few useful bash features
-rw-r--r--.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 119e071..ff11c5b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -23,6 +23,13 @@ shopt -s histappend
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
+# Let ** recursively scan directories
+shopt -s globstar
+
+# Why is this not on by default?
+# "We have a cached value, but it isn't valid anymore. Should we trash it?"
+shopt -s checkhash
+
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"