What is the proper way to modify environment variables like PATH in OS X?
I\'ve looked on Google a little bit and found three different files to edit:
All the magic on iOS only goes with using source
with the file, where you export your environment variables.
For example:
You can create an file like this:
export bim=fooo
export bom=bar
Save this file as bimbom.env
, and do source ./bimbom.ev
.
Voilá, you got your environment variables.
Check them with:
echo $bim