Opened 11 years ago

Closed 11 years ago

#39470 closed defect (invalid)

bash-completion: completions directory needs to be manually linked in

Reported by: macports@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: bash-completion

Description

I have the port bash-completion as well as several ports such as mercurial and svn installed with +bash_completion variant. However, to get the ports to take effect I need to symlink/copy the installed completion files from /opt/local/share/bash-completion/completions/ to /opt/local/etc/bash_completion.d...or I have to symlink the whole directory completions to bash_completion.d...This shouldn't be required IMHO...

Macports versoin 2.1.3 (latest) on Mountain Lion (10.8.4), Bash 4.2.45 is the login shell

Change History (6)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

I thought the default completions directory had changed recently...

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 in reply to:  1 Changed 11 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to raimue@…
Summary: completions directory needs to be manually linked in for bash-completion in macportsbash-completion: completions directory needs to be manually linked in

Replying to egall@…:

I thought the default completions directory had changed recently...

It did. See comment:2:ticket:39315.

comment:4 Changed 11 years ago by macports@…

It seems that the bash-completions directory has moved..and all the ports are linking the file into the new location: /opt/local/share/bash-completion/completions/ However, it seems that bash-completion itself is not using this location at all!

It only seems to be using the BASH_COMPLETION_COMPAT_DIR (set to /opt/local/etc/bash_completion.d) to source from there.

comment:5 Changed 11 years ago by macports@…

Please close as invalid...I am opening another one with the port mercurial since its the mercurial completion that is at fault for not creating the completion file with the name 'hg' instead of 'mercurial'

comment:6 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed

New ticket at #39488.

Note: See TracTickets for help on using tickets.