I can't figure out how to set a prompt before starting the new csh. My
problem is that I start csh from a script like this:
In this case csh does not recognize the Bourne shell variable prompt. I know
that I can set prompt in my .cshrc file but I'd like to avoid that. I want
my script to set the prompt.
Maybe there is a way to source another file which will set my prompt? How
can I start csh so that it sources another file? I tried the following and
it didn't work:
csh -Dprompt="My prompt"
csh -c "source mypromptfile"