* history not saving elapsed times
@ 2004-12-04 22:30 Nikolai Weibull
2004-12-05 19:49 ` Wayne Davison
0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Weibull @ 2004-12-04 22:30 UTC (permalink / raw)
To: zsh-users
Zsh isn't storing elapsed times in my history, all entries are like
: <timestamp>:0;<cmd>
Is this a bug, or am I missing something?
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: history not saving elapsed times
2004-12-04 22:30 history not saving elapsed times Nikolai Weibull
@ 2004-12-05 19:49 ` Wayne Davison
2004-12-05 20:55 ` Nikolai Weibull
0 siblings, 1 reply; 3+ messages in thread
From: Wayne Davison @ 2004-12-05 19:49 UTC (permalink / raw)
To: zsh-users
On Sat, Dec 04, 2004 at 11:30:07PM +0100, Nikolai Weibull wrote:
> Zsh isn't storing elapsed times in my history, all entries are like
> : <timestamp>:0;<cmd>
This happens if you use one of the incremental-append history options:
since zsh writes out the history line before running it, it doesn't know
what the elapsed time for the command will be, so it always writes it
out with an elapsed time of 0.
..wayne..
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: history not saving elapsed times
2004-12-05 19:49 ` Wayne Davison
@ 2004-12-05 20:55 ` Nikolai Weibull
0 siblings, 0 replies; 3+ messages in thread
From: Nikolai Weibull @ 2004-12-05 20:55 UTC (permalink / raw)
To: zsh-users
* Wayne Davison <wayned@users.sourceforge.net> [Dec 05, 2004 21:00]:
> > Zsh isn't storing elapsed times in my history, all entries are like
> > : <timestamp>:0;<cmd>
> This happens if you use one of the incremental-append history options:
> since zsh writes out the history line before running it, it doesn't
> know what the elapsed time for the command will be, so it always
> writes it out with an elapsed time of 0.
Aha!
That's too bad...but I really like incremental-append history. Thanks,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-05 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-04 22:30 history not saving elapsed times Nikolai Weibull
2004-12-05 19:49 ` Wayne Davison
2004-12-05 20:55 ` Nikolai Weibull
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).