Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Command not found error with "=" prefix
- X-seq: zsh-workers 36875
- From: Ismail Donmez <ismail@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Command not found error with "=" prefix
- Date: Fri, 16 Oct 2015 11:15:01 +0000 (UTC)
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
If you prefix a command with "=" and the application returns an error then
zsh also displays a command not found error:
λ echo $ZSH_VERSION
5.1.1
λ =true
λ
No error, fine.
λ =false
=false: command not found
false does exist though:
λ type -a false
false is a shell builtin
false is /usr/bin/false
false is /usr/bin/false
false is /usr/bin/false
false is /bin/false
false is /usr/bin/X11/false
Also reproducable with other programs:
λ =clang -fuse-ld=lld2 test.c -lm
unrecognized reloc 23
clang-3.8: error: linker command failed with exit code 1 (use -v to see
invocation)
=clang: command not found
Messages sorted by:
Reverse Date,
Date,
Thread,
Author