[MacPorts] #30664: bash-completion: document to source $prefix/etc/profile.d/

MacPorts noreply at macports.org
Fri Aug 12 10:33:15 PDT 2011


#30664: bash-completion: document to source $prefix/etc/profile.d/
---------------------------------+------------------------------------------
  Reporter:  blair@…             |       Owner:  raimue@…           
      Type:  enhancement         |      Status:  reopened           
  Priority:  Normal              |   Milestone:                     
 Component:  ports               |     Version:  2.0.1              
Resolution:                      |    Keywords:                     
      Port:  bash-completion     |  
---------------------------------+------------------------------------------
Changes (by raimue@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Sorry, I wasn't able to respond in time as I am on travel.

 I don't see how this is related to bash-completion in any way? Please add
 a note to maven instead if it needs to source any stuff to work. Any port
 needs to install it's bash-completion related files into
 `${prefix}/etc/bash_completion.d`. It is a failure in these ports, not in
 bash-completion.

 If the directory `etc/profile.d` contains unrelated files, it will do more
 than just enabling bash-completion. This is not the behavior users would
 expect and therefore this is dangerous.

-- 
Ticket URL: <https://trac.macports.org/ticket/30664#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list