Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Command not found error with "=" prefix



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