From 77d3f19933f4a678e1bdb03cac7a36af8dcd6aa0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 16 Aug 2012 00:05:51 +1200 Subject: Set a few more options --- bash/bashrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3