Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: time-stamped zsh history
- X-seq: zsh-users 12053
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: time-stamped zsh history
- Date: Fri, 19 Oct 2007 14:14:32 +0200
- In-reply-to: <6a42eec70710190505k3fc2e723q58e8e6fdfb4bbb76@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6a42eec70710190505k3fc2e723q58e8e6fdfb4bbb76@xxxxxxxxxxxxxx>
sam reckoner <sam.reckoner@xxxxxxxxx>:
> Is it possible to set up zsh history so that the date and time of the
> command that appears in the history is reported?
To save date information to $HISTFILE:
% setopt extendedhistory
To show additional information about history events:
% history -E
% history -i
% history -D
See the zshoptions(1) and zshbuiltins(1) (the 'fc' builtin) for
details.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author