# TL;DR
Adding a path to your PATH in Mac OS X (Mavericks as tested here).
Edit the paths file.
sudo vim /etc/pathsAdd your path, then save the file.
Test the path:
echo $PATH
Adding a path to your PATH in Mac OS X (Mavericks as tested here).
Edit the paths file.
sudo vim /etc/paths
Add your path, then save the file.
Test the path: echo $PATH