From: Ulrik Haugen <qha@lysator.liu.se>
To: zsh-workers@sunsite.dk
Subject: Re: BUG: cd '' doesn't produce an error
Date: Wed, 04 Jan 2006 23:30:01 +0100 [thread overview]
Message-ID: <87r77nlj86.fsf@haugen.visit.se> (raw)
In-Reply-To: <EXCHANGE03jSFUMCGlb00000a49@exchange03.csr.com>
Peter Stephenson <pws@csr.com> wrote:
> That's because of the special handling of ".": if it doesn't occur in
> cdpath, it's assumed to occur first.
> That's long-standing behaviour, although I think the documentation (for
> cd) is a bit screwy...
Ok, after reading your documentation changes and tinkering a bit my
self I think I've gotten a grasp on cdpath.
It seems to me that having another directory in cdpath before . would
be quite unusual, and that was the one case when cd to the empty
string was even remotely useful. I don't think that motivates not
complaining about an argument that you can't stat(2), but I can't
think of anything but subjective reasons any more though. :|
next prev parent reply other threads:[~2006-01-04 22:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-21 2:03 Ulrik Haugen
2005-12-21 10:21 ` Peter Stephenson
2005-12-30 12:52 ` Ulrik Haugen
2005-12-30 16:28 ` Wayne Davison
2006-01-04 17:32 ` Wayne Davison
2006-01-04 19:48 ` Ulrik Haugen
2006-01-04 11:41 ` Peter Stephenson
2006-01-04 13:06 ` Peter Stephenson
2006-01-04 17:48 ` Peter Stephenson
2006-01-04 22:30 ` Ulrik Haugen [this message]
2006-01-05 12:29 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r77nlj86.fsf@haugen.visit.se \
--to=qha@lysator.liu.se \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).