[Yum-devel] [PATCH] bash completion: load yum.bash in. BZ 953210

Zdenek Pavlas zpavlas at redhat.com
Thu Apr 18 08:26:54 UTC 2013


---
 yum-utils.bash | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/yum-utils.bash b/yum-utils.bash
index 20e8e5c..6578bb3 100644
--- a/yum-utils.bash
+++ b/yum-utils.bash
@@ -1,3 +1,6 @@
+# need functions from yum.bash
+type -t _yum >/dev/null || . $(pkg-config --variable=completionsdir bash-completion)/yum
+
 # bash completion for yum-utils
 
 _yu_init_completion()
-- 
1.7.11.7



More information about the Yum-devel mailing list