aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-29 13:19:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-29 13:19:32 +1200
commit0da17bdc3938b84e0f5bfc90d17dfdd2ac4a10b3 (patch)
treeebf7167a80cbfe03032233e04bb47ee8fb7aa54c /bash/bashrc
parentUse consistent case for readline options (diff)
downloaddotfiles-0da17bdc3938b84e0f5bfc90d17dfdd2ac4a10b3.tar.gz
dotfiles-0da17bdc3938b84e0f5bfc90d17dfdd2ac4a10b3.zip
Move COMP_WORDBREAKS tweaks to completion subfile
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc5
1 files changed, 0 insertions, 5 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 2f54a0cd..a62f2251 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -88,11 +88,6 @@ if ((BASH_VERSINFO[0] >= 4)) ; then
((BASH_VERSINFO[1] >= 3)) && shopt -s direxpand
fi
-# If COMP_WORDBREAKS has a value, strip all colons from it; this allows
-# completing filenames correctly, since an unquoted colon is not a syntactic
-# character: <http://tiswww.case.edu/php/chet/bash/FAQ> (E13)
-[[ -n $COMP_WORDBREAKS ]] && COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
-
# Load POSIX shell startup files and then Bash-specific ones
for sh in "$ENV" "$HOME"/.bashrc.d/*.bash ; do
[[ -e $sh ]] && source "$sh"