port prefix command

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Sep 19 17:32:19 PDT 2012


> There are plenty of ways to get around this in macports, but I think a port prefix command would make things simpler and should be easy to implement.
> 
> Thoughts?

Couldn't you just ".." off of the results from `which`?

if [ -f  `which port`/../../etc/bash_completion]; then
  .  `which port`/../../etc/bash_completion
fi



More information about the macports-dev mailing list