Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
history formatting a la iPython
- X-seq: zsh-users 13228
- From: "sam reckoner" <sam.reckoner@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: history formatting a la iPython
- Date: Wed, 17 Sep 2008 16:17:03 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Ow9lfqqnYbZK9mIVdC+8frWboBsxMEvXv/vEC7ULZ/E=; b=vYiNIvhQh6I1PYlmQ1j6H7a9B35M4L0lQ2Ow2/94JmhIe4rLxmdaaDJl65LXtF6z65 Luqt2q5tuDTWDRFMecMp0bDiu3a8dqD5azfosWQRjHdAa91imDhh3gH7PD/thylEoYpL XHNAFlIB2DOml7CF6QPhrWbZtyQcVQ9zvP0yo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=CM2Ce6MveQ+/pBl5tuCgJoj1zvgDLWG3T2GDf5mAS85ddvy212coWDLIlneGPJcl4H rekWh34E3DNsZaSVUzb5IBD2M26H6wg0CAAL39JQ58fUXU0opNkjVlaHNGLuhVF0wLbe GiJ5Q9hlvyxagvfNjkGMb2s1mf9O0v1hSPKIA=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
The iPython interpreter does something very clever with history that
zsh might like.
When starting a new iPython session, all history items are labeled
starting from 1. However, history items prior to this are labeled with
a leading zero. This is useful, because my current zsh history starts
with 1013, so accessing prior commands from the current session means
typing in a 4 digit number whereas with ipython, I would need only
maybe 2 digits and could still get at earlier history elements via the
leading zero.
just an idea.
thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author