Article View: comp.unix.shell
Article #1618Re: Csh question: Doing cd .. from a symbolically linked directory
From: Tero Kivinen
Date: Thu, 25 Oct 1990 10:51
Date: Thu, 25 Oct 1990 10:51
11 lines
1332 bytes
1332 bytes
In article <JERRY.90Oct24110101@sky.slhisc.uucp> jerry@slhisc.uucp (Jerry Liebelson) writes:
> Is there a way to set things in the csh such that when I do the cd ..
> from /tmp/c, I will end up in /tmp and not in /tmp/a?
Try alias .. 'cd /$cwd:h' in your .cshrc, and then typing .. works.
This will work in csh or in tcsh.
--
______ ______ _ , !Tero_Kivinen@hut.FI ! Work : +358-0-451 4032 !
/ / ' ) / !Tero Kivinen ! Voice: +358-0-523 542 !
--/ --/ /-< ! ! Data : +358-0-524 207 !
(_/ (_/ / ) +---------------------+------------------------+
Technical Details
Message-ID:
<KIVINEN.90Oct25125016@deathstar.hut.fi>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!ngs!newsReferences:
<JERRY.90Oct24110101@sky.slhisc.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!ngs!news From: kivinen@cs.hut.fi (Tero Kivinen) Newsgroups: comp.unix.shell Subject: Re: Csh question: Doing cd .. from a symbolically linked directory Message-ID: <KIVINEN.90Oct25125016@deathstar.hut.fi> Date: 25 Oct 90 10:51:06 GMT References: <JERRY.90Oct24110101@sky.slhisc.uucp> Sender: news@ngs.fi (The news system) Distribution: comp.unix.shell Organization: Helsinki University of Technology, Finland Lines: 11 In-reply-to: jerry@slhisc.uucp's message of 24 Oct 90 15:01:01 GMT