where is $PATH set? Specifically where is my mac port path being set?
when i do 

     echo $PATH

is see:

      /opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql84/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mysql/bin:/usr/X11/bin

I want to move the /opt/local stuff to the end of the path because it is causing errors with gitk.  (the same error specified here: http://stackoverflow.com/questions/2629292/starting-gitk-error)

I've already commented out the export PATH line in my .bash_profile, but my path is STILL set like the above.  I also checked etc/paths.d  but don't see anything for mac ports in there.  I commented out a similar export PATH line in my .profile.  Again my path is STILL containing /opt/local in the front.  WHERE ELSE is this being set?

I'm using mac os snow leopard 10.6.8


where is $PATH set? Specifically where is my mac port path being set?
===

when i do 

     echo $PATH

is see:

      /opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql84/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mysql/bin:/usr/X11/bin

I want to move the /opt/local stuff to the end of the path because it is causing errors with gitk.  (the same error specified here: http://stackoverflow.com/questions/2629292/starting-gitk-error)

I've already commented out the export PATH line in my .bash_profile, but my path is STILL set like the above.  I also checked etc/paths.d  but don't see anything for mac ports in there.  I commented out a similar export PATH line in my .profile.  Again my path is STILL containing /opt/local in the front.  WHERE ELSE is this being set?

I'm using mac os snow leopard 10.6.8

