* history expansion interactively, scripted, and (z) PE
@ 2018-01-13 21:47 Matthew Martin
0 siblings, 0 replies; only message in thread
From: Matthew Martin @ 2018-01-13 21:47 UTC (permalink / raw)
To: zsh-workers
% zsh -f
% : !?foo bar
zsh: no such event: foo bar
% zsh -fc ': !?foo bar'
zsh:1: no matches found: !?foo
% print -l ${(z)${:-': !?foo bar'}}
:
!?foo
bar
It seems history expansions are interpreted differently interactively
and scripted and that the (z) PE flag follows the scripted parsing.
Shouldn't these all be parsed the same way?
- Matthew Martin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-13 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13 21:47 history expansion interactively, scripted, and (z) PE Matthew Martin
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).