[cme] 01/03: new patch to force load cme bash completion snippets
dod at debian.org
dod at debian.org
Sun Jan 3 14:39:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository cme.
commit 831543df08fa78c72ad56d938cee8d1003928fc3
Author: Dominique Dumont <dod at debian.org>
Date: Fri Jan 1 21:17:04 2016 +0100
new patch to force load cme bash completion snippets
---
debian/patches/force-load-bash-comp-plugins | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/force-load-bash-comp-plugins b/debian/patches/force-load-bash-comp-plugins
new file mode 100644
index 0000000..5c83033
--- /dev/null
+++ b/debian/patches/force-load-bash-comp-plugins
@@ -0,0 +1,26 @@
+Description: Force load bash completion plugins
+ New style of Debian bash completion use load on demand of
+ files. Unfortunately, cme plugins come with bash completions
+ snippets that are not loaded with this mechanism. Hence, these lines
+ circumvent delayed for the bash completions of cme plugins
+ .
+ This patch is Debian specific.. Well I think so...
+Author: dod
+--- a/contrib/bash_completion.cme
++++ b/contrib/bash_completion.cme
+@@ -10,6 +10,15 @@
+ # The GNU Lesser General Public License, Version 2.1, February 1999
+ #
+
++# New style of Debian bash completion use load on demand of
++# files. Unfortunately, cme plugins come with bash completions
++# snippets that are not loaded with this mechanism. Hence, these lines
++# circumvent delayed for the bash completions of cme plugins
++for file in /usr/share/bash-completion/completions/cme[-_]*
++do
++ . $file
++done
++
+ _cme_models()
+ {
+ MODELS=$(perl -MConfig::Model::Lister -e'print Config::Model::Lister::models;')
diff --git a/debian/patches/series b/debian/patches/series
index cdc0a2e..84b8d5b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+force-load-bash-comp-plugins
add_dh_config
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/cme.git
More information about the Pkg-perl-cvs-commits
mailing list