Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
using 'fc' to backup 'zhistory (was Re: saving history file based on # of commands)
- X-seq: zsh-users 356
- From: "Timothy J. Luoma" <luomat@xxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: using 'fc' to backup 'zhistory (was Re: saving history file based on # of commands)
- Date: Thu, 15 Aug 96 23:11:01 -0400
- Organization: Princeton Theological Seminary
- Reply-to: luomat@xxxxxxxx
Someone suggested that I use 'fc' and precmd to call a function to
backup my zhistory file.
However, I cannot figure out how to do this (I keep ending up with
a size=0 file).
What I want to do:
backup the _last_50 commands I have entered (otherwise it gets very
slow waiting for the entire history file to be backed up, and once
I have it, I'd rather just add to it than start all over each 50
commands).
Thanks
TjL
--------------------------------------------------------------------
Timothy J. Luoma <luomat@xxxxxxxx> http://www.nerc.com/~luomat
My USENET feed is slow and not very reliable
NeXT info via email: send message with SUBJECT: send-ascii info
NeXT Information: http://www.nerc.com/~luomat/next
Messages sorted by:
Reverse Date,
Date,
Thread,
Author