aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-25 17:47:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-25 17:47:47 +1200
commitb79ac00b58f2bddd63a86f7ca2afac93ba6ddb31 (patch)
treebc1eea947bad60f1b6bd5e3c6753f500c97eec1c /bash/bashrc
parentDon't bother reading files for host completion (diff)
downloaddotfiles-b79ac00b58f2bddd63a86f7ca2afac93ba6ddb31.tar.gz
dotfiles-b79ac00b58f2bddd63a86f7ca2afac93ba6ddb31.zip
Warn me about errant shift attempts
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 65fefebd..119678ea 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -55,6 +55,8 @@ shopt -u mailwarn
shopt -s no_empty_cmd_completion
# Use programmable completion, if available
shopt -s progcomp
+# Warn me if I try to shift when there's nothing there
+shopt -s shift_verbose
# These options only exist since Bash 4.0-alpha
if ((${BASH_VERSINFO[0]} >= 4)); then