[MacPorts] #23221: sysutil/bash-completion evaluate pseudo-portnames in port command
#23221: sysutil/bash-completion evaluate pseudo-portnames in port command ---------------------------------------------+------------------------------ Reporter: rmsfisher@… | Owner: raimue@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.2 Keywords: bash-completion pseudo-portname | Port: bash-completion ---------------------------------------------+------------------------------ Currently bash-completion for the port command does not work with pseudo- portnames.[[BR]] I would propose evaluating tab completion to pseudo-portnames, as in:[[BR]] port installed acti[tab] -> port installed active[[BR]] port upgrade outd[tab] -> port upgrade outdated[[BR]] It would be especially useful if the "outdated" or "inactive" could be replaced with actual outdated/inactive ports, but I have no idea how one would go about such a task. -- Ticket URL: <http://trac.macports.org/ticket/23221> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23221: sysutil/bash-completion evaluate pseudo-portnames in port command ---------------------------------------------+------------------------------ Reporter: rmsfisher@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.2 Keywords: bash-completion pseudo-portname | Port: bash-completion ---------------------------------------------+------------------------------ Changes (by raimue@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/23221#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23221: sysutil/bash-completion evaluate pseudo-portnames in port command ---------------------------------------------+------------------------------ Reporter: rmsfisher@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Low | Milestone: Component: ports | Version: 1.8.2 Keywords: bash-completion pseudo-portname | Port: bash-completion ---------------------------------------------+------------------------------ Comment(by raimue@…): I added the pseudo-ports to the completion list for commands taking a port name in r62571. I am not sure if replacing the pseudo-port with the list of ports is what the user intends to do. Such an expansion can clutter the terminal for a long list (for example pseudo port 'all'). Shell wildcards are also not expanded in usual bash-completion. -- Ticket URL: <http://trac.macports.org/ticket/23221#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23221: sysutil/bash-completion evaluate pseudo-portnames in port command -------------------------------------+-------------------------------------- Reporter: rmsfisher@… | Owner: raimue@… Type: enhancement | Status: closed Priority: Low | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: bash-completion pseudo-portname Port: bash-completion | -------------------------------------+-------------------------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: I guess the current implementation is sufficient. -- Ticket URL: <http://trac.macports.org/ticket/23221#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts