projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added error message if COMPLETION-BASH is source directly.
[mmh]
/
docs
/
COMPLETION-BASH
diff --git
a/docs/COMPLETION-BASH
b/docs/COMPLETION-BASH
index
e4af65d
..
4938903
100644
(file)
--- a/
docs/COMPLETION-BASH
+++ b/
docs/COMPLETION-BASH
@@
-2,6
+2,9
@@
# Copyright 2003 "Wade Richards" <wade@wabyn.net>
# Permission granted to redistribute under the BSD license
# 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()
{
have show &&
_nmh()
{