Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: save zsh history without exiting?



"Mikael Magnusson" wrote:
> On 28/02/2008, sam reckoner <sam.reckoner@xxxxxxxxx> wrote:
> > Is it  possible to save the zsh history without exiting?
> >
> >
> >  Thanks in advance.
> 
> If you
> setopt incappendhistory
> the history will be saved after every command you run. I don't know if
> you can explicitly save it without using that with the fc command or
> something.

fc -W

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author