X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Foptions.bashrc;h=3d87c1f87466a758beb35d5c0c7354be451d7b03;hb=5b55ae5ffc76dae9d0f2a7f4312f8398a8d96db7;hp=34fb1e9d93be5dddc277817baa84ed064a215ca8;hpb=d4e50810bbf08371d1875a7c71dd98bb84f44c24;p=profile.git diff --git a/.profile.d/options.bashrc b/.profile.d/options.bashrc index 34fb1e9..3d87c1f 100644 --- a/.profile.d/options.bashrc +++ b/.profile.d/options.bashrc @@ -1,2 +1,36 @@ # $Id$ +# +# Bash variables and options. +# Some of these are (now) the default but listed for completeness. +# + +# Allow ^D to exit the shell. +set +o ignoreeof + +# vi keys. Not needed if .inputrc is handled properly. +set -o vi + +# Don't cache missing PATH entries. +shopt -s checkhash + +# Don't wait for SIGWINCH. shopt -s checkwinsize + +# Append to history. +shopt -s histappend + +# Don't try to expand hostnames after @. +shopt -u hostcomplete + +# Don't send HUP to jobs on exit. +shopt -u huponexit + +# Handle accidental tab mashing at start of a line. +shopt -s no_emptycmd_completion + +# The Red Hat The +shopt -u nocaseglob + +# Return a null string when no matches are found for a glob, rather than the +# literal pattern. +shopt -s nullglob