> 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

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to