why no .kshrc file?

Conor P. Cahill cpcahil at virtech.UUCP
Tue Oct 17 23:22:33 AEST 1989


In article <262 at zeek.UUCP>, rick at zeek.UUCP (Rick Wilhelm) writes:
> 1)  Is there a way to run ksh with a startup script and
> 	then turn things over to stdin and the $ prompt, etc.?

Yes.  place the name of the script into the $ENV environment variable
and all sub-kshell will run it.

I usually place all of my shell functions and aliases into a ".ksh.profile"
and include the following code in my .profile:

	ENV=$HOME/.ksh.profile
	export ENV
	. $ENV


-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+



More information about the Comp.unix.questions mailing list