From 78fac02daa02db92b8aea27aa9b1c863a6ad24f4 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 3 Jan 2015 17:46:46 -0600 Subject: [PATCH] .bashrc: Don't include system bashrc, enable more shell options * The system bashrc (/etc/bashrc) can bring in extra stuff we don't want, e.g. on work machines. Don't source it anymore. * Enable additional shell options --- .bashrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 6568975..caf2109 100644 --- a/.bashrc +++ b/.bashrc @@ -35,15 +35,13 @@ esac # SHELL OPTIONS # ---------------------------------------------------------------------- -# bring in system bashrc -test -r /etc/bashrc && - . /etc/bashrc - # notify of bg job completion immediately set -o notify # shell opts. see bash(1) for details shopt -s cdspell >/dev/null 2>&1 +shopt -s checkjobs >/dev/null 2>&1 +shopt -s checkwinsize >/dev/null 2>&1 shopt -s extglob >/dev/null 2>&1 shopt -s histappend >/dev/null 2>&1 shopt -s hostcomplete >/dev/null 2>&1 -- 2.45.2