[MacPorts] #23913: allow selective enabling of bash-completion modules

MacPorts noreply at macports.org
Tue Mar 2 14:49:13 PST 2010


#23913: allow selective enabling of bash-completion modules
---------------------------------+------------------------------------------
 Reporter:  jabronson@…          |       Owner:  macports-tickets@…                   
     Type:  enhancement          |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.2                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 Currently there is no way to selectively enable bash-completion modules;
 "{{{. /opt/local/etc/bash_completion}}}" causes all 149 modules in
 {{{/opt/local/etc/bash_completion.d}}} to be loaded and results in an
 unnecessary slowdown in shell startup time (e.g. 0.635s on my new Macbook
 Pro when the disk cache is cold (0.224s when hot)).

 Other bash-completion distributions provide a facility for selectively
 enabling modules (e.g. {{{eselect bashcomp enable ...}}} on Gentoo). Could
 MacPorts make use of their prior art somehow?

-- 
Ticket URL: <http://trac.macports.org/ticket/23913>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list