set PATH in terminal OS X 10.11.3
Open your terminal an paste de following command:

echo "export PATH=/usr/local/gnupg-2.1/bin:$PATH" &gt;&gt; ~/.bash_profile


This will create the file .bash_profile if does not exists and append your command at the end if the file exists.

To create a hidden file you just need to prepend a dot (.) in the file name when you save it (profile -> .profile). That's all you need.