Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug or feature in how zsh looks for commands?
- X-seq: zsh-workers 2444
- From: Jari Kokko <jkokko@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: bug or feature in how zsh looks for commands?
- Date: Thu, 21 Nov 1996 11:51:20 +0200
- Reply-to: jkokko@xxxxxxxxxxxxxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author