Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: interactivecomments and preexec
- X-seq: zsh-workers 31555
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: interactivecomments and preexec
- Date: Mon, 22 Jul 2013 08:00:33 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=nPcB95KUdJm156dk0ttWBVWvWMcJp51+bYXLrYeVS6U=; b=TZW196pu2FkGx1ZSQ/2dsuINP4ZpcRNSa2SCiMFLovJGedx2BwAFPFzsK4HWpQp3xQ VujnAABuh0vAuSgwu5kN/VLURphEQnDxCClp5rkKvL6FNKaOK/C+IBBPycT3Agb4e/uQ cbHhuOBl16oI6GwTJ5fXJU0FIexQMIEsiUxDxMfEW1Y5g7EbKLPJCRULughf33/gS3iz SQqpYEMcEHcrXYuXFFk9N9tdgD0BRVv5evT5pDbt8/VhFRWrQuv8UXs0GSbaxUMsgIlU jon8cNbaB04Y9WVmCzj4eiBfgmVhjyakIBTxSs6sxiTgJY0L4A5S23rHFBjxyMpMtQ0I gyxw==
- In-reply-to: <CAH+w=7Z0hHmyboPiicYRw4TuNrEUWjmdga0nyMOEj5_rAnqqPw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20130721194524.GC10400@chaz.gmail.com> <CAH+w=7Z0hHmyboPiicYRw4TuNrEUWjmdga0nyMOEj5_rAnqqPw@mail.gmail.com>
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