From: "Timothy J. Luoma" <luomat@nerc.com>
To: zsh-users@math.gatech.edu
Subject: using 'fc' to backup 'zhistory (was Re: saving history file based on # of commands)
Date: Thu, 15 Aug 96 23:11:01 -0400 [thread overview]
Message-ID: <199608160311.XAA14070@nerc.com> (raw)
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@nerc.com> 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
next reply other threads:[~1996-08-16 3:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-16 3:11 Timothy J. Luoma [this message]
1996-08-18 21:01 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199608160311.XAA14070@nerc.com \
--to=luomat@nerc.com \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).