Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dukebound85

macrumors Core
Original poster
Jul 17, 2005
19,218
4,342
5045 feet above sea level
Is there a way to have paths always set so that I do not have to declare them each time I want to run a language?

For instance, I am using NCL and NCO langauges and the bin files are in diffferent folders


Right now, to access the commands, I have to type this in each terminal window
PATH=$PATH:/opt/local/bin or PATH=$PATH:/usr/local/bin to access the NCO and NCL commands

Is there a way that I can forgo typing the path in each new shell? Just have it globally referenced?

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.