X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dcf161b0c2cc885e4dfa23fe4b4e1ab47e139c6..98df2244c328b45c72cdb750f3e38889699fe020:/docs/COMPLETION-BASH?ds=sidebyside diff --git a/docs/COMPLETION-BASH b/docs/COMPLETION-BASH index b5bdfbc4..3cb2fae0 100644 --- a/docs/COMPLETION-BASH +++ b/docs/COMPLETION-BASH @@ -2,6 +2,9 @@ # Copyright 2003 "Wade Richards" # Permission granted to redistribute under the BSD license +[ "$BASH_COMPLETION" ] || echo "ERROR: COMPLETION-BASH is not intended to be \ +sourced directly, but rather added to a bash-completion package installation." + have show && _nmh() {