From: Jari Kokko <jkokko@tnso09.tele.nokia.fi>
To: zsh-workers@math.gatech.edu
Subject: bug or feature in how zsh looks for commands?
Date: Thu, 21 Nov 1996 11:51:20 +0200 [thread overview]
Message-ID: <199611210951.LAA08582@tnso09.tele.nokia.fi> (raw)
Is this the desired behaviour?
$ unsetopt autocd
$ mkdir bin/foobar
$ rehash
$ which which
which: shell built-in command
$ echo $ZSH_VERSION
3.0.1
$ which foobar
foobar not found
$ foobar
zsh: permission denied: foobar
$ sh
$ foobar
foobar: cannot execute
$ bash
bash$ foobar
bash: foobar: is a directory
Jari Kokko
next reply other threads:[~1996-11-21 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-21 9:51 Jari Kokko [this message]
1996-11-22 5:27 ` Hrvoje Niksic
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=199611210951.LAA08582@tnso09.tele.nokia.fi \
--to=jkokko@tnso09.tele.nokia.fi \
--cc=jkokko@tnso13.ntc.nokia.com \
--cc=zsh-workers@math.gatech.edu \
/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).