Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: interactivecomments and preexec
- X-seq: zsh-workers 31556
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: interactivecomments and preexec
- Date: Mon, 22 Jul 2013 09:44:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=3R9SUI/8pBj0zU+OEwhFqIhGZhgj38SOKQbYGoEwO2U=; b=DyUHUfyMavQPeiojiPgwEfE+mQ7JZslfM6RFcRABJ1D3wejwqxcqK0G6wDnlmA+7+p XQMhwlZM8oQzwoApDfthlKijj0X9A5dWeZlCxRwRZ2Ti1a9H4AOOa1VjTZDFuwA9IALN y9Q0S73w00deRe4JfJft4AvH/59cqAK68hMqrJ8d/BUVnDCia8KVfOHjF90G4ZJGzPSH 0jDN/yLPLWiReWWiMsBT+4d0ZS8xB+dghqgseFDG/sGiztTox5+Da2Mrxl40c45vrpgo nfVXBlMhKQAwFfc24mirHQ9b1KMGTeGw4V4h5kXhysbhaVtgMiR+Dg4jxXvar+84/fmK WRpw==
- In-reply-to: <20130721194524.GC10400@chaz.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: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20130721194524.GC10400@chaz.gmail.com>
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