bash completion should use shell-complete
Bug #84822 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned | ||
bzr (Debian) |
Confirmed
|
Unknown
|
Bug Description
It'd be good to write and include a bash shell completion routine that uses the output from 'bzr shell-complete'.
At the moment the completion script shipped with ubuntu's bzr package greps through 'bzr help' and has hardcoded options for some commands.
tags: | added: bash |
Changed in bzr (Debian): | |
status: | Unknown → Confirmed |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
A side effect of using the unofficial bzr help output is that this actually suggests many bogus words:
mbp@limpid:~$ bzr
Display all 231 possibilities? (y or n)
a copy id. patterns specified
about Create ignore patterns. standard
add current Ignore Perform status
Add dead ignored pqm. storage
all deleted in [pqmsubmit] Submit
an destination info pqm-submit summary.
and dialog information preferences supplied
annotate dialog. init previous tag
annotate. diff init-repository Print tags
another differences into pull tags.
archive. directive its push testament
as directories. last push. that
auto-merge directory latest reconcile the
......
(probably every word in 'bzr help commands')