From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11087 invoked by alias); 5 Oct 2015 18:31:14 -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: 36785 Received: (qmail 20704 invoked from network); 5 Oct 2015 18:31:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=oTOOOuvsai+osnEUtex5BMHCcQi/NvUHRDC/Fw8jqF4=; b=OsxZSz8LEqJsP6vdIzbbCPYTAWWjGL2D2FHMHEcG3wvbikmDIcZ2LLJgf8/2VE6vNr RXwL8CBjdo61iTNzpRJwFwiWQPjm2NRGTnGQjpyovqBWkTLzxGzNj3sroDd9YtsqxswN Joxon22QiafdFwvYHQxwUAi3iTNqo7s+hG41RfJgsaKGzk5Q3RozetTzDBBehOynFSFb 64JWjFRlc0uYKjpBIIx9Qj/UR2wdUg2/Tky2fR9brJBktW7ck9LRCleoLUq6TfWuKjLj 8pRJJUPZeZxTgtjC0FRomPeqpNYEgCeCVqVjYBt0H0i4G17S2biMgyllZAMaglBfSlUQ AI0Q== X-Gm-Message-State: ALoCoQmf9KvZkQT5UiAhj6aQaO//9tMSeUaMp/e8ewNXIQcUAGPzhRyt8z/cW86hlGSVmNKylAXt X-Received: by 10.202.76.14 with SMTP id z14mr17536011oia.113.1444069872421; Mon, 05 Oct 2015 11:31:12 -0700 (PDT) From: Bart Schaefer Message-Id: <151005113109.ZM19301@torch.brasslantern.com> Date: Mon, 5 Oct 2015 11:31:09 -0700 In-Reply-To: Comments: In reply to Slava Barinov "Exporting REPORTTIME data to ENVVARs instead of printing." (Oct 5, 2:23pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Exporting REPORTTIME data to ENVVARs instead of printing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 5, 2:23pm, Slava Barinov wrote: } Subject: Exporting REPORTTIME data to ENVVARs instead of printing. } } REPORTTIME feature only can print timings to terminal but I have a } great prompt with much information embedded and still having some } space to add this info. } } My suggestion is to add possibility of exporting timings to envvars } instead of printing them to terminal. It would be more in keeping with similar features if the values were placed in an array or hash rather than in four separate variables. Or in a single scalar but formatted with $TIMEFMT. However, if the primary motivation is to include them in the prompt string, a prompt substitution escape might be more appropriate.