[MacPorts] #69536: bash-completion: _comp_initialize seems missing after recent upgrade (was: _comp_initialize seems missing after recent upgrade)

MacPorts noreply at macports.org
Mon Mar 18 16:16:04 UTC 2024


#69536: bash-completion: _comp_initialize seems missing after recent upgrade
------------------------------+----------------------
  Reporter:  davidfavor       |      Owner:  raimue
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  bash-completion  |
------------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => raimue
 * port:   => bash-completion


Old description:

> Seems to only effect certain commands like tar.
>
> To recreate... tar <TAB> produces...
> ```
> tar <TAB> produc
> imac> tar -bash: _comp_initialize: command not found
> ```
> I've tried manually running ".
> /opt/local/etc/profile.d/bash_completion.sh" in bash + problem persists.
>
> Fix seems to be running ". /opt/local/share/bash-
> completion/bash_completion" in bash, which resolves the problem.
>
> This suggests some slight breakage in
> /opt/local/etc/profile.d/bash_completion.sh file which has crept in at
> some point.

New description:

 Seems to only effect certain commands like tar.

 To recreate... tar <TAB> produces...

 {{{
 tar <TAB> produc
 imac> tar -bash: _comp_initialize: command not found
 }}}
 I've tried manually running ".
 /opt/local/etc/profile.d/bash_completion.sh" in bash + problem persists.

 Fix seems to be running ". /opt/local/share/bash-
 completion/bash_completion" in bash, which resolves the problem.

 This suggests some slight breakage in
 /opt/local/etc/profile.d/bash_completion.sh file which has crept in at
 some point.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69536#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list