From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23034 invoked from network); 12 Oct 2008 23:36:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL autolearn=unavailable version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Oct 2008 23:36:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 21022 invoked from network); 12 Oct 2008 23:35:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Oct 2008 23:35:49 -0000 Received: (qmail 20532 invoked by alias); 12 Oct 2008 23:35:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25864 Received: (qmail 20506 invoked from network); 12 Oct 2008 23:35:14 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Oct 2008 23:35:14 -0000 Received: from uucp.gnuu.de (unknown [83.246.114.63]) by bifrost.dotsrc.org (Postfix) with ESMTP id 093C180524C2 for ; Mon, 13 Oct 2008 01:35:09 +0200 (CEST) Received: by uucp.gnuu.de (Postfix, from userid 10) id 1EEA44880D9; Mon, 13 Oct 2008 01:35:08 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.5.2 uucp.gnuu.de 1EEA44880D9 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1223854509; i=@alea.gnuu.de; bh=m/E55VbmvLciw8plfnXNrFSm2tG50h7HS 7LNnOmtHw4=; h=To:From:Subject:Date:Message-ID:Mime-Version: Content-Type:Content-Transfer-Encoding:Sender; b=Ffbq1dMbICfiymPlm pI8+l14jxR7FWV+BCwnE6y5eAYDs4pT1WWTuiVJ6LHzLKRfWFJ8tDDQ2IPteG2xkhbU A+/c/2Ork7dgdqkyuqX2KMA3/a/Nv7TfhQzLVR2W0JAnCSy1LkKRBvRAp0HHl3NoI6U 1hLePX0kv1ewLfN8SaFU= Received: from news by alea.gnuu.de with local (Exim 4.63) (envelope-from ) id 1Kp8Rf-0006M3-6m for zsh-workers@sunsite.dk; Sun, 12 Oct 2008 23:25:47 +0200 To: zsh-workers@sunsite.dk Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: Current history number in command line Date: Sun, 12 Oct 2008 21:25:47 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1223846747 24279 192.168.0.5 (12 Oct 2008 21:25:47 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/0.9.9 (Linux) Sender: news X-Virus-Scanned: ClamAV 0.92.1/8414/Sun Oct 12 05:30:50 2008 on bifrost X-Virus-Status: Clean Hi, while searching the history with ^R, is it possible to get the number of the current history entry? I'm using %h in my prompt, but this is only the number of the next history entry. While going up and down the history list I would like to see the number of the selected history entry. Is this possible? Bye, Jörg. -- Diskutiere nie mit einem Idioten: Sie ziehen Dich auf ihr Niveau herab und schlagen Dich dann mit Erfahrung.