From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28316 invoked from network); 7 Nov 1997 14:58:16 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Nov 1997 14:58:16 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id JAA14364; Fri, 7 Nov 1997 09:51:34 -0500 (EST) Resent-Date: Fri, 7 Nov 1997 09:51:34 -0500 (EST) Sender: czo@asim.lip6.fr Message-ID: <34632AD7.3947083@asim.lip6.fr> Date: Fri, 07 Nov 1997 15:51:03 +0100 From: "Czo [Olivier SIROL]" Reply-To: Olivier.Sirol@lip6.fr Organization: CAO-VLSI team, ASIM/LIP6/UPMC X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.31 i586) MIME-Version: 1.0 To: zsh-workers@math.gatech.edu, zsh-users@math.gatech.edu Subject: zsh and history Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"wG6VV2.0.KW3.qhoOq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3601 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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@lip6.fr 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@lip6.fr 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@asim.lip6.fr ====================================================================