Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!think!ames!sdcsvax!ucbvax!ucsfcgl!cgl.ucsf.edu!pett From: pett@cgl.ucsf.edu (Eric Pettersen%CGL) Newsgroups: comp.sys.atari.st Subject: Re: Mark Williams C: some findings... Message-ID: <10440@cgl.ucsf.EDU> Date: Thu, 15-Oct-87 22:49:32 EDT Article-I.D.: cgl.10440 Posted: Thu Oct 15 22:49:32 1987 Date-Received: Sat, 17-Oct-87 16:52:50 EDT References: <879@sask.UUCP> Sender: daemon@cgl.ucsf.edu Reply-To: pett@socrates.ucsf.edu.UUCP (Eric Pettersen%CGL) Organization: UCSF Computer Graphics Lab Lines: 16 In article <879@sask.UUCP> long@sask.UUCP (Warren Long) writes: >Comment on MSH: Has anyone gotten the aliasing to work? I can type >in their example 'set in .cmd lc="ls -l"', and it works just fine. But >when I try to do something more useful, I can't get it to work. >For example, 'set in .cmd cds="cd d:\sw"', does not result in my >CD-ing to the appropriate directory. Can someone offer a hint?? I spent a long time trying to get a csh-like pushd/popd alias to work and concluded that msh must execute these aliases in a subshell, leaving the parent shell unaffected. About the best you can do if you have an unbearably long path that you frequently type is to set a shell variable equal to it (in, say, .profile) and just say "cd $x", for example. Eric Pettersen UCSF Computer Graphics Lab pett@cgl.ucsf.edu or ucbvax!ucsfcgl!pett