Merge lp:~gagern/bzr-gentoo-overlay/bzr-bash-completion into lp:~malept/bzr-gentoo-overlay/overlay-main
Proposed by
Martin von Gagern
Status: | Merged |
---|---|
Merged at revision: | 362 |
Proposed branch: | lp:~gagern/bzr-gentoo-overlay/bzr-bash-completion |
Merge into: | lp:~malept/bzr-gentoo-overlay/overlay-main |
Diff against target: |
80 lines (+60/-0) 4 files modified
dev-vcs/bzr-bash-completion/ChangeLog (+10/-0) dev-vcs/bzr-bash-completion/Manifest (+4/-0) dev-vcs/bzr-bash-completion/bzr-bash-completion-1.0.2.ebuild (+37/-0) dev-vcs/bzr-bash-completion/metadata.xml (+9/-0) |
To merge this branch: | bzr merge lp:~gagern/bzr-gentoo-overlay/bzr-bash-completion |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mark Lee | Approve | ||
Review via email: mp+21372@code.launchpad.net |
Description of the change
The bash completion script shipped with bzr is horribly outdated. And with the plugin infrastructure of bzr, no static completion script can ever hope to deal with all options in a reasonable way.
To deal with these issues, I've written a bzr plugin that generates a suitable completion function dynamically. This ebuild installs the plugin. It also installs a small static function for eselect-able bash completion, which will generate the full completion function upon first invocation. This lazy generation prevents long bash initialization delays.
To post a comment you must log in.
Have you contacted the bzr developers about it?