history/savehist variables in csh

Pat Robinson probinso at psu-cs.UUCP
Wed Mar 1 05:12:00 AEST 1989


In article <345 at shapetc.UUCP> ec at shapetc.UUCP (Enrico Chiarucci) writes:
>
>In my .login file I have the following lines (in a more or less vanilla
>Sun-2 flavour of unix):
>
>	set history=128
>	set savehist=16
>	source -h ~/.history
>
>wishing to keep 128 commands in the history file, but to save only 16 of
>them across login sessions.
>

Just put the set savehist=16 in your .logout not your .login.  You should
then only get 16 saved.


Pat Robinson     

UUCP:    {ucbvax, decvax, allegra, hplabs}!tektronix!psu-cs!probinso 
CSNET:   probinso at cs.pdx.edu
ARPANET: probinso%cs.pdx.edu at relay.cs.net



More information about the Comp.unix.questions mailing list