]> diplodocus.org Git - nmh/blobdiff - docs/COMPLETION-BASH
Instead of relying on errno to determine if locking failed, pass
[nmh] / docs / COMPLETION-BASH
index b5bdfbc4246ffe5b20b7206e98e796502d030f27..3cb2fae02436f5ab90e5f3b671e40dce728f7ede 100644 (file)
@@ -2,6 +2,9 @@
 # Copyright 2003 "Wade Richards" <wade@wabyn.net>
 # 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()
 {