[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-23-ga29ed87
Guillaume Rousse
Guillaume.Rousse at inria.fr
Wed Feb 23 20:42:22 UTC 2011
The following commit has been merged in the master branch:
commit b7ef18dded6ebab7a2466269c809398e5ea20e07
Author: Guillaume Rousse <Guillaume.Rousse at inria.fr>
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
More information about the Bash-completion-commits
mailing list