How can I automatically source a particular shell script when I open a terminal window by right clicking somewhere and choosing "open in terminal"?
For example, every time I open a terminal I need to run the following command line:
How can I make it so that I don't have to type this automatically?
My script is written in tsch:
#!/bin/tcsh setenv DISPLAY 127.0.0.1:10.0 cd /ast/dcm/data
I'm using CentOS 7.