[SOLVED] Re: bash completion for port command does not work
Andre Massing
massing at simula.no
Sat Nov 20 06:26:03 PST 2010
Hi!
The problem was that _tar function which is responsible for the
completion was not available,
because I recently reordered my .profile and moved completion sourcing
before adding /opt/local/ PATHs.
This causes that the _tar was not loaded (the existence of the port
command in PATH is prechecked)
So a single line swap in .profile can cause some headaches if you not
think about what your are doing :)
Cheers,
Andre
Den 19.11.10 17.17, skrev Andre Massing:
> Den 19.11.10 16.45, skrev Bradley Giesbrecht:
>>
>> On Nov 19, 2010, at 2:29 AM, Andre Massing wrote:
>>
>>> Hi!
>>>
>>> I have been experiencing for quite some weeks that the bash
>>> completion for the port
>>> command does not longer work. I don't get any commands or whatsoever
>>> when I
>>> do a
>>> port <TAB>
>>> Neither are any package / variants completed when I do a port
>>> activated <TAB>
>>> Has anybody else lately experienced this behaviour? Any ideas where
>>> I could look at?
>>> I have already uninstall and reinstalled the bash-completion package
>>> but it did not help.
>>
>> Have you read this?
>>
>> https://trac.macports.org/wiki/howto/bash-completion
>>
>>
>> Brad
> Yes I have, and completion works fine with other tools like mercurial
> and bazaar, but at some point it stopped working with port.
> --
> Andre
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list