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

Re: interactivecomments and preexec



2013-07-21 13:28:17 -0700, Bart Schaefer:
> Comments are stripped before alias expansion.

Well, they appear to be after alias expansion as well then,
since:

~$ alias a='echo test #'
~$ setopt interactivecomments
~$ a q'qwe
test

See how the unmatched quote was successfully ignored. Also, if I
press the Up key, I get:

~$ a # q'qwe                                                                                                                                                                              7:57

That is, the issue is not only with preexec.

-- 
Stephane



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