diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-25 17:47:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-25 17:47:59 +1200 |
commit | 056bfbe13c4796045c1149363d655140e6012841 (patch) | |
tree | d19f62b1c14365679b790465b1b80175b64e7d14 | |
parent | Warn me about errant shift attempts (diff) | |
download | dotfiles-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
-rw-r--r-- | bash/bashrc | 2 |
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 |