launchd.conf to its default settings. It's better to keep
/etc files alone if you don't know what you are doing. :-)
Also, it's not advisable to completely overwrite your PATH; you can add directories to your pre-existing PATH in a very simple way.
You can change OS X's PATH parameter in the shell environment simply by editing
~/.bash_profile. For example, in my
.profile I have added some directories to my pre-existing PATH:
You have some subdirectories of
/opt in your PATH. I guess that they have been added by MacPorts. If you want to remove them, simply comment out (#) or remove the corresponding lines in your
.profile. To edit those hidden files, you can use CLI editors like vim or nano (included into OS X).