projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dae2af
)
Added error message if the file is source directly, rather than through bash-completion.
author
David Levine
<levinedl@acm.org>
Sun, 5 Feb 2012 21:26:16 +0000
(15:26 -0600)
committer
David Levine
<levinedl@acm.org>
Sun, 5 Feb 2012 21:26:16 +0000
(15:26 -0600)
docs/COMPLETION-BASH
patch
|
blob
|
history
diff --git
a/docs/COMPLETION-BASH
b/docs/COMPLETION-BASH
index
b5bdfbc
..
3cb2fae
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
+[ "$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()
{