Csh question: Doing cd .. from a symbolically linked directory

Tero Kivinen kivinen at cs.hut.fi
Thu Oct 25 20:51:06 AEST 1990


In article <JERRY.90Oct24110101 at sky.slhisc.uucp> jerry at 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 at hut.FI  ! Work : +358-0-451 4032 !
    /      /   ' ) /	!Tero Kivinen         ! Voice: +358-0-523 542  ! 
 --/    --/     /-<	!                     ! Data : +358-0-524 207  ! 
(_/    (_/     /   )    +---------------------+------------------------+



More information about the Comp.unix.shell mailing list