Opened 9 years ago

Last modified 13 months ago

#40686 assigned enhancement

bash-completion: support port abbreviated commands

Reported by: ryandesign (Ryan 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 9 years ago by raimue (Rainer Müller)

Status: newassigned

This first needs to be supported in port usage cont expanding 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.

comment:2 Changed 13 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.