Path: utzoo!news-server.csri.toronto.edu!rutgers!apple!ames!mindcraft.com!karish From: karish@mindcraft.com (Chuck Karish) Newsgroups: comp.unix.shell Subject: Re: ksh - how do you keep aliases permanent? Summary: Save 'em and re-alias next time. Message-ID: <668886493.6428@mindcraft.com> Date: 13 Mar 91 17:48:13 GMT References: <57993@mcdchg.chg.mcd.mot.com> <7365@mentor.cc.purdue.edu> <544@genco.bungi.com> <1991Mar11.041751.18032@cbnews.att.com> <557@genco.bungi.com> Organization: Mindcraft, Inc. Lines: 10 In article <557@genco.bungi.com> rad@genco.bungi.com (Bob Daniel) writes: >Whenever setting up aliases, they are gone when I log out. I want to keep >aliases permanent for the next time I login. In your .kshrc, set an exit trap to run the 'alias' builtin and save the results in a file. Have .kshrc use what's saved in the file to set new aliases the next time you log in. Chuck Karish karish@mindcraft.com Mindcraft, Inc. (415) 323-9000