Opened 12 years ago
Last modified 4 years ago
#40686 assigned enhancement
bash-completion: support port abbreviated commands
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | raimue (Rainer Müller) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | mascguy (Christopher Nielsen) | |
| Port: | bash-completion |
Description
With bash-completion, I can type port contents z then press tab twice to see the names of all the ports I have installed that begin with "z". However if I use an abbreviated form like port cont z then pressing tab any number of times just beeps.
Change History (2)
comment:1 Changed 12 years ago by raimue (Rainer Müller)
| Status: | new → assigned |
|---|
comment:2 Changed 4 years ago by mascguy (Christopher Nielsen)
| Cc: | mascguy added |
|---|
Note: See
TracTickets for help on using
tickets.

This first needs to be supported in
port usage contexpanding the abbreviation to the full command. Although implementing the check for a unique prefix in the bash completion itself could work, I feel it would just duplicate the functionality that is already in port(1). I agree this should work, anyway.