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-21 22:07:39 -0400
commit69e7a06e976bbad54684b8c650853020c8352adb (patch)
treedc6a74e3febd7dcb6ff4688fe209e394e7d567b5
parent1e21630f10a42654f999b76ed8337abd960c5ab9 (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)"