* using history file
@ 1995-10-07 19:08 Joachim Reith
0 siblings, 0 replies; only message in thread
From: Joachim Reith @ 1995-10-07 19:08 UTC (permalink / raw)
To: zsh-workers; +Cc: joachimr
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/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-07 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-07 19:08 using history file Joachim Reith
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).