* Command not found error with "=" prefix
@ 2015-10-16 11:15 Ismail Donmez
2015-10-16 11:41 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Ismail Donmez @ 2015-10-16 11:15 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Command not found error with "=" prefix
2015-10-16 11:15 Command not found error with "=" prefix Ismail Donmez
@ 2015-10-16 11:41 ` Peter Stephenson
2015-10-16 12:57 ` Ismail Donmez
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2015-10-16 11:41 UTC (permalink / raw)
To: zsh-workers
On Fri, 16 Oct 2015 11:15:01 +0000
Ismail Donmez <ismail@i10z.com> wrote:
> If you prefix a command with "=" and the application returns an error then
> zsh also displays a command not found error:
You've got something else going on that's affecting this. Some hook
function, OS dependence...? Try "set -x"?
pws
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Command not found error with "=" prefix
2015-10-16 11:41 ` Peter Stephenson
@ 2015-10-16 12:57 ` Ismail Donmez
0 siblings, 0 replies; 3+ messages in thread
From: Ismail Donmez @ 2015-10-16 12:57 UTC (permalink / raw)
To: zsh-workers
Peter Stephenson <p.stephenson <at> samsung.com> writes:
>
> On Fri, 16 Oct 2015 11:15:01 +0000
> Ismail Donmez <ismail <at> i10z.com> wrote:
> > If you prefix a command with "=" and the application returns an error
then
> > zsh also displays a command not found error:
>
> You've got something else going on that's affecting this. Some hook
> function, OS dependence...? Try "set -x"?
Argh! Its the stupid command-not-found helper. Thanks for the set -x tip!
ismail
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-16 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16 11:15 Command not found error with "=" prefix Ismail Donmez
2015-10-16 11:41 ` Peter Stephenson
2015-10-16 12:57 ` Ismail Donmez
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).