From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 163 invoked by alias); 28 Dec 2016 19:20:22 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22306 Received: (qmail 19129 invoked from network); 28 Dec 2016 19:20:22 -0000 X-Qmail-Scanner-Diagnostics: from mta01.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.30):SA:0(-3.8/5.0):. Processed in 2.526925 secs); 28 Dec 2016 19:20:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.2 cv=ZvqvEJzG c=1 sm=1 tr=0 a=28Ntk8jg+Dho8ABWn/CRtA==:117 a=28Ntk8jg+Dho8ABWn/CRtA==:17 a=N659UExz7-8A:10 a=eSN66mghi5ws2IeqzQ4A:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.16.108 Subject: Re: append to history entry? To: zsh-users@zsh.org References: <5288b537-f06a-d18a-60ea-1f962856c80c__41345.3811700039$1482803962$gmane$org@eastlink.ca> <20161227125530.GA4796@fujitsu.shahaf.local2> <161227080022.ZM519@torch.brasslantern.com> <99549001-5744-c36f-a4dc-404071aba08a@eastlink.ca> <161227110954.ZM1153@torch.brasslantern.com> <0a48db86-b41a-283c-8193-e2766aa5d30b@eastlink.ca> <161227155552.ZM2385@torch.brasslantern.com> <161227220458.ZM3240@torch.brasslantern.com> <161228102207.ZM5358@torch.brasslantern.com> From: Ray Andrews Message-id: <388b7c6d-8740-a487-1281-6f56b5cbc8e4@eastlink.ca> Date: Wed, 28 Dec 2016 11:20:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-version: 1.0 In-reply-to: <161228102207.ZM5358@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 28/12/16 10:22 AM, Bart Schaefer wrote: > what those tokens mean. History is thus connected more closely to > the line editor than to the command execution engine. Whatever, I can't comment on the stage, I only say that at some point the string is literal. > > Read up on the "trap" command with the DEBUG pseudo-signal, and the > ZSH_DEBUG_CMD variable, which is the closest thing there is to what > you are imagining. > > The zshaddhistory hook is where you get at the literal input string. > Ok, I'll see what I can figure out.