Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Current history number in command line



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