aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-25 17:47:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-25 17:47:59 +1200
commit056bfbe13c4796045c1149363d655140e6012841 (patch)
treed19f62b1c14365679b790465b1b80175b64e7d14 /bash
parentWarn me about errant shift attempts (diff)
downloaddotfiles-056bfbe13c4796045c1149363d655140e6012841.tar.gz
dotfiles-056bfbe13c4796045c1149363d655140e6012841.zip
Don't source files from /home/tom/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 119678ea..3a49fcf6 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -57,6 +57,8 @@ shopt -s no_empty_cmd_completion
shopt -s progcomp
# Warn me if I try to shift when there's nothing there
shopt -s shift_verbose
+# Don't use PATH to find files to source
+shopt -u sourcepath
# These options only exist since Bash 4.0-alpha
if ((${BASH_VERSINFO[0]} >= 4)); then