From: Joachim Reith <joachimr@sco.com>
To: zsh-workers@math.gatech.edu
Cc: joachimr@sco.com
Subject: using history file
Date: Sat, 7 Oct 1995 19:08:48 +0000 (GMT) [thread overview]
Message-ID: <9510071908.aa21801@frosch.london.sco.com> (raw)
Hi.
I'm using zsh since half a year and I'm
very content with this shell...
The only thing what I haven't figured out until
now is the history file. As far as I understood
I use the command fc to read and write the history
to/from a file. I'm using now fc -R ~/.myfile in
~/.zshrc to read the old history, it's working.
But I haven't succeeded with writing the history back.
I have put fc -W ~/.myfile resp. fc -A ~/.myfile in
~/.zlogout (and also ~/.logout and with traps),
but it didn't writes the history back.
At the moment I'm using the alias
exit='fc -ln >> ~/.zsh_history ; exit'
I have tried zsh-2.6-beta9 and ~10 on SCO.
Thanks for any help
/Joachim
P.S.: A good idea could be to include the fc stuff
in the example files in /StartupFiles/*
reply other threads:[~1995-10-07 21:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=9510071908.aa21801@frosch.london.sco.com \
--to=joachimr@sco.com \
--cc=zsh-workers@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).