Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: why no .kshrc file? Keywords: ksh history sh csh Message-ID: <1287@virtech.UUCP> Date: 17 Oct 89 13:22:33 GMT References: <262@zeek.UUCP> Organization: Virtual Technologies Inc Lines: 20 In article <262@zeek.UUCP>, rick@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 | +-----------------------------------------------------------------------+