Path: utzoo!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!ubc-cs!alberta!aunro!atha!mips!daver!genco!rad From: rad@genco.bungi.com (Bob Daniel) Newsgroups: comp.unix.shell Subject: Re: ksh - how do you keep aliases permanent? Message-ID: <557@genco.bungi.com> Date: 12 Mar 91 15:30:14 GMT References: <57993@mcdchg.chg.mcd.mot.com> <7365@mentor.cc.purdue.edu> <544@genco.bungi.com> <1991Mar11.041751.18032@cbnews.att.com> Reply-To: rad@genco.bungi.com (Bob Daniel) Organization: Gentry & Assoc. Excelsior Springs, MO Lines: 14 In article <1991Mar11.041751.18032@cbnews.att.com> lvc@cbnews.att.com (lawrence.v.cipriani) writes: >In article <544@genco.bungi.com> rad@genco.bungi.com (Bob Daniel) writes: >>When defining aliases, is there a way to keep them permanent as they are defined >>rather than inserting them directly into .profile? If I have to, I'll write >I guess I'm not entirely certain what you mean by "keep them permanent." >If you want those aliases and functions accessible to sub-shells try this: >export and define a variable called ENV in .profile; $ENV is the name of >an environment file ksh will automatically "dot" after .profile when you >login. You do not have to say . $ENV in your .profile, it is redundant >[at login]. Whenever setting up aliases, they are gone when I log out. I want to keep aliases permanent for the next time I login.