1 |
On 20 août 2010, at 16:50, Alex Schuster wrote: |
2 |
|
3 |
> weird% echo =find |
4 |
> /usr/bin/find |
5 |
> |
6 |
> Your command works, when the = is escaped by a \, or when the stuff is |
7 |
> quoted. |
8 |
|
9 |
I don't use zsh, but a little of google's magic[1] shows: |
10 |
|
11 |
> A command name with a = prepended is replaced with its full pathname. This can be very convenient. If it's not convenient for you, you can turn it off: |
12 |
> |
13 |
> % ls |
14 |
> =foo =bar |
15 |
> % ls =foo =bar |
16 |
> zsh: foo not found |
17 |
> % setopt noequals |
18 |
> % ls =foo =bar |
19 |
> =foo =bar |
20 |
|
21 |
[1] http://zsh.sourceforge.net/Intro/intro_7.html |
22 |
|
23 |
----- |
24 |
Florian. |
25 |
/ For security reasons, all text in this mail |
26 |
is double-rot13 encrypted. / |