How do I edit my
.profile file to set a permanent value for my
Is there any other file that needs editing? (This is on CentOs 6.2)
migrated from stackoverflow.com Jan 24 '13 at 1:52
This question came from our site for professional and enthusiast programmers.
You'll probably want to do this in your shell's rcfile (.bashrc, .zshrc, etc.). You'll want to add something like the following:
if you are only looking to append a file path. Or you can get tricky with it and create a path file (for zsh I have a .zpath file). In there you can do something like:
Now every time that file is sourced (