The following commit has been merged in the master branch:
commit b7ef18dded6ebab7a2466269c809398e5ea20e07
Author: Guillaume Rousse <[email protected]>
Date: Wed Feb 23 21:27:27 2011 +0100
no need to use a variable for a list used only once
diff --git a/completions/puppet b/completions/puppet
index 11ef60c..f7b7235 100644
--- a/completions/puppet
+++ b/completions/puppet
@@ -60,9 +60,6 @@ _puppet()
;;
esac
- puppet_commands='agent apply cert describe doc filebucket kick master \
- queue resource'
-
case ${COMP_WORDS[0]} in
puppetmasterd)
special=master
@@ -100,7 +97,8 @@ _puppet()
special=apply
;;
*)
- COMPREPLY=( $( compgen -W "$puppet_commands" -- "$cur" ) )
+ COMPREPLY=( $( compgen -W "agent apply cert describe doc \
+ filebucket kick master queue resource" -- "$cur" ) )
return 0
;;
esac
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits