aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-08-16 00:05:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-08-16 00:05:51 +1200
commit77d3f19933f4a678e1bdb03cac7a36af8dcd6aa0 (patch)
tree988b98854db4b2556686103bc56638c858fa4618 /bash
parentNew words (diff)
downloaddotfiles-77d3f19933f4a678e1bdb03cac7a36af8dcd6aa0.tar.gz
dotfiles-77d3f19933f4a678e1bdb03cac7a36af8dcd6aa0.zip
Set a few more options
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 7bcd7ef5..284b48ef 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -26,12 +26,21 @@ unset MAILCHECK
# Autocorrect fudged paths in cd calls.
shopt -s cdspell &>/dev/null
+# Update the hash table properly.
+shopt -s checkhash &>/dev/null
+
+# Warn me about stopped jobs when exiting.
+shopt -s checkjobs &>/dev/null
+
# Update columns and rows if window size changes.
shopt -s checkwinsize &>/dev/null
# Put multi-line commands onto one line of history.
shopt -s cmdhist &>/dev/null
+# Expand globbing and variables for directory completion.
+shopt -s direxpand &>/dev/null
+
# Autocorrect fudged paths during completion.
shopt -s dirspell &>/dev/null
@@ -47,6 +56,9 @@ shopt -s globstar &>/dev/null
# Append rather than overwrite Bash history.
shopt -s histappend &>/dev/null
+# Ignore me if I try to complete an empty line.
+shopt -s no_empty_command_completion &>/dev/null
+
# Never beep at me.
hash setterm &>/dev/null && setterm -bfreq 0