From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20063 invoked by alias); 23 Jan 2015 19:13:14 -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: 19775 Received: (qmail 15831 invoked from network); 23 Jan 2015 19:13:10 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs66.srv.lrz.de Date: Fri, 23 Jan 2015 20:05:49 +0100 From: Andy Spiegl To: zsh-users@zsh.org Subject: show timestamp during history search ? Message-ID: <20150123190549.GA16712@spiegl.de> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-gpg-key: ID C2CB30F0, available on friendly keyservers near you X-gpg-fingerprint: 9051 50B9 13B0 57B9 10FD 48AC 4FA1 209B C2CB 30F0 X-Accepted-File-Formats: ASCII PDF Open/Free Formats - NO proprietory (e.g. Microsoft) files, please X-how-to-quote: http://quoting.is-easy.de/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ X-angstklauseln: http://www.heise.de/artikel-archiv/ct/2014/08/136_Angstklauseln User-Agent: Mutt/1.5.21 (2010-09-15) Hi, just had an idea: I'd consider it really useful while searching backwards through the shell history to see the time when this command was actually run. I've got EXTENDED_HISTORY set, of course. :-) Unfortunately I am clueless on how to implement this feature. Maybe some kind of function bound to ctrl-r ? Any help is appreciated! Have a nice weekend! Andy. -- The opossum is a very sophisticated animal. It doesn't even get up until 5 or 6 pm.