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

Re: [[ is being treated as a pattern in the command/reserved word position.



On Mar 28,  5:08pm, Eric Cook wrote:
}
} With a recent build, this happens to me. Does it happen for anyone else?

"A recent build"?  This happens to me with zsh-3.0.5.  Can you find ANY
build of zsh where this DOESN'T happen?

} % type [[
} zsh: bad pattern: [[

torch% setopt nobadpattern
torch% type [[
[[ is a reserved word

} % '[[' a == a ]]
} zsh: = not found

torch% setopt noequals
torch% '[[' a == a ]]
zsh: command not found: [[



Messages sorted by: Reverse Date, Date, Thread, Author