diff options
-rw-r--r-- | bash/bashrc | 5 | ||||
-rw-r--r-- | bash/bashrc.d/completion.bash | 5 |
2 files changed, 5 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" diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash index 1246ba31..d3fb246c 100644 --- a/bash/bashrc.d/completion.bash +++ b/bash/bashrc.d/completion.bash @@ -1,6 +1,11 @@ # Various easy completions for Bash builtins; more specific stuff goes in # ~/.bash_completion.d +# 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//:} + # Bash builtins complete -A builtin builtin |