Page MenuHome GnuPG

GnuPG should adopt and maintain the bash completion for gpg
Open, NormalPublic

Description

http://bash-completion.alioth.debian.org maintains a ruleset for tab completion of gpg (and a separate one for gpg2, which is only subtly different).

I think that GnuPG should take control of these completion functions and ship them in the upstream tarball.

This way, if new features are added, gpg has a good way to make sure that the tab-completion for bash users is updated accordingly.

bash-completion upstream has some guidance for how maintainers can do this cleanly.

Event Timeline

dkg renamed this task from GnuPG should adopt and maintain the bash completion to GnuPG should adopt and maintain the bash completion for gpg.Sep 13 2017, 10:14 PM
werner triaged this task as Normal priority.Sep 14 2017, 1:59 PM
werner added a subscriber: werner.
gpg --dump-options

should be useful to create such completion stuff. No context specific completion but this is imho anyway a misfeature.

I see that the completion script already uses --dump-options :-)

Anyway, given that I dislike the context specific auto-completion I am not the best person to maintain such rules. If someone else wants do do this, there is certainly space in the gnupg tarball to distribute these rules.