zsh-workers
 help / color / mirror / code / Atom feed
* bug or feature in how zsh looks for commands?
@ 1996-11-21  9:51 Jari Kokko
  1996-11-22  5:27 ` Hrvoje Niksic
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Kokko @ 1996-11-21  9:51 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-22  5:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-21  9:51 bug or feature in how zsh looks for commands? Jari Kokko
1996-11-22  5:27 ` Hrvoje Niksic

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).