projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b448acf
)
Added error message if COMPLETION-BASH is source directly.
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:35:56 +0000
(11:35 +0200)
committer
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:35:56 +0000
(11:35 +0200)
Pulled in from nmh. Thanks to David Levine.
docs/COMPLETION-BASH
patch
|
blob
|
history
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
+[ "$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()
{