Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: history formatting a la iPython
- X-seq: zsh-users 13250
- From: "sam reckoner" <sam.reckoner@xxxxxxxxx>
- To: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- Subject: Re: history formatting a la iPython
- Date: Thu, 18 Sep 2008 18:05:26 -0700
- Cc: zsh-users@xxxxxxxxxx
- 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aEZ1jSqoNcIXctqZdB0wpyeOb+oBKl0iWRCKxniue1Y=; b=HLfF20khWNWknbrJttbUMeyvLofqCr/5AlDoPCpV6Xf7kdHpeQ+m13GFeDZrVZXPT1 j2FCWV3X3becx8J2sDxAZuRE5SV+UIKO4kuRhMGWIcdCJOXDVpWl8kywpBNWqsmW1nNg 8+V4SzjMDqkQwM7hZdBN6oEG5ZuD07JfI940k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MDHAF1A4id8PdLuDNABTk6IazLbzMSuLt+DfH3z8T20g+lIykXhfskERqxxlrfuyTJ OAc0K7Wj3EpJD4oaMpxXf7bNj53H8G9PtAps5XUGkaK3Pmc9tjfQUhxE3yPgX89pLSuP BXBzQaAC8d7VzjazdfO96MIa+cknEhyN9Kzps=
- In-reply-to: <2d460de70809181718l1c1562berfb0f3254bde2352a@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6a42eec70809171617w3ec08a0by216e73827b08f55f@xxxxxxxxxxxxxx> <2d460de70809181718l1c1562berfb0f3254bde2352a@xxxxxxxxxxxxxx>
01 echo foo
02 echo bar
1 echo quux
2 echo quuux
I hope that helps.
On Thu, Sep 18, 2008 at 5:18 PM, Richard Hartmann
<richih.mailinglist@xxxxxxxxx> wrote:
> On Thu, Sep 18, 2008 at 01:17, sam reckoner <sam.reckoner@xxxxxxxxx> wrote:
>
>
>> 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.
>
> I am not sure I understand this scheme. Let's suppose I do
>
> zsh
> echo foo
> echo bar
> <CTRL-D>
> zsh
> echo quux
> echo quuux
>
> What numbers would the four commands above have?
>
>
> Richard
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author