Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Current history number in command line
- X-seq: zsh-workers 25864
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Current history number in command line
- Date: Sun, 12 Oct 2008 21:25:47 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1223854509; i=@xxxxxxxxxxxx; 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=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author