Terminal Path questions

dukebound85

macrumors P6
Original poster
Jul 17, 2005
18,140
1,450
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
 

Similar threads

  • Average Pro
0
Replies
0
Views
202
  • Odysee
8
Replies
8
Views
856
Replies
7
Views
697
  • bhogi
2
Replies
2
Views
685
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.