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

zsh and history



Hi!

Can someone help me?

Is there an option (or is this planed)
that process history lines like tcsh 

% set histfile = ~/.history
% set histdup  = erase
% set history  = 1000
% set savehist = (  900  merge )

This means i have an history file of 1000 lines
Each time a tcsh dies it save at most 900 lines
AND the most important :
Each time I write a new line, if it is already 
in the history (eg line 233) then line 233 is
erased and the new line is pushed in the history
This means ALL the commands in my history are unique.
I have only found the Zsh Optin : HIST_IGNORE_DUPS

I really miss this thing as i was using history a
lot in my tcsh, but decided to use the *exellent* zsh.


please reply to mailto:Olivier.Sirol@xxxxxxx

Thanks for giving us zsh!!!

Sincerely,
          Olivier.

====================================================================
Olivier SIROL                          Alliance Team  ASIM/LIP6/UPMC
Coul. 55-65, 2e etg, Bur. 213                   75252 Paris Cedex 05
mailto:Olivier.Sirol@xxxxxxx               Tel: (33/0) 1.44.27.30.43
http://humanus.lip6.fr/~czo                Fax: (33/0) 1.44.27.72.80

===================== Alliance on the WWW ==========================
- Home page      :                 http://www-asim.lip6.fr/alliance/
- Ftp site       :            ftp://ftp.lip6.fr/lip6/softs/alliance/
- E-mail support :              mailto:alliance-support@xxxxxxxxxxxx
====================================================================



Messages sorted by: Reverse Date, Date, Thread, Author