aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-02-10 00:22:36 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-02-10 00:22:36 +1300
commit3cf1544df287b05afef6e5b6ed37db46492c1d48 (patch)
tree5984aa8142076304be3809e0b5f2bdc3f87c3331 /bash/bashrc.d
parentAdd hms(1df) (diff)
downloaddotfiles-3cf1544df287b05afef6e5b6ed37db46492c1d48.tar.gz
dotfiles-3cf1544df287b05afef6e5b6ed37db46492c1d48.zip
Improve and correct some comments
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/completion.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash
index c77f8844..ed938950 100644
--- a/bash/bashrc.d/completion.bash
+++ b/bash/bashrc.d/completion.bash
@@ -1,9 +1,9 @@
-# Various easy completions for Bash builtins; more specific stuff goes in
-# ~/.bash_completion.d
+# Simple completions for Bash builtins and POSIX utilities; more specific or
+# complex stuff goes in ~/.bash_completion.d, for possible dynamic loading
# 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)
+# completing filenames correctly, since a colon is not a shell metacharacter:
+# <http://tiswww.case.edu/php/chet/bash/FAQ> (E13)
[[ -n $COMP_WORDBREAKS ]] && COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
# If ~/.hosts exists, use that as the host completion file rather than