In first place you should use the terminal preferences under the menu
Terminal > Preferences > Settings to change this kind of things. (Or maybe not)
If you still want to go text mode, since OS X is UNIX based, you should be able to create the file
.bash_profile inside your home directory and it will be loaded.
You need to:
Then open the file vi
i to enter in text insert mode, paste your text and press
esc them type
enter and the file should be saved.
Your options should be like this