Behaviour of .. with symbolic links. - (nf)
notes at iuvax.UUCP
notes at iuvax.UUCP
Tue Mar 27 16:05:54 AEST 1984
#R:watmath:-737800:iuvax:1200006:000:534
iuvax!apratt Mar 26 19:13:00 1984
One way to fix this, I think, to work like your mind works is to do some clever
aliasing:
make "cd name" push the current directory to the directory stack,
then change to name (possibly a link).
make "cd .." change to the directory which is at the top of the
directory stack, then pop the stack.
It may have to be a script checking for ".." as the first arg to "cd", rather
than a straight alias, but that would work, I think.
-- Allan Pratt
...Just trying to be helpful...
Posting this so people can poke holes in it...
More information about the Comp.unix.wizards
mailing list