From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7798 invoked by alias); 22 Jul 2013 07:07:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31555 Received: (qmail 24125 invoked from network); 22 Jul 2013 07:07:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.212.182 as permitted sender) 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== X-Received: by 10.180.198.146 with SMTP id jc18mr29038955wic.61.1374476435778; Mon, 22 Jul 2013 00:00:35 -0700 (PDT) Date: Mon, 22 Jul 2013 08:00:33 +0100 From: Stephane Chazelas To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: interactivecomments and preexec Message-ID: <20130722070033.GA9580@chaz.gmail.com> Mail-Followup-To: Bart Schaefer , zsh-workers@zsh.org References: <20130721194524.GC10400@chaz.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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