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

Re: interactivecomments and preexec



2013-07-21 20:45:24 +0100, Stephane Chazelas:
> % alias a='echo #'
> % setopt interactivecomments
> % preexec() print -r "<$1>"
> % a test
> <a # test>
> 
> Why not <a test>?
[...]

Note that I think it worked before because I remember using it
in things like:

http://www.zsh.org/mla/users/2007/msg01195.html

(though in that particular one I mention "untested", and trying
zsh from some old ubuntus (4.3.4, 4.3.10), the behavior is
different in that it outputs "<a>" instead of "<a # test>", but
is not I as expect either).

-- 
Stephane



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