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

Bash history (was Re: [blank])



On Mon, Aug 14, 2023 at 4:20 PM Budi <budikusasi@xxxxxxxxx> wrote:
>
> What is Zsh equivalent of bash history -a save the recent added ones

I suspect you're looking for
  fc -AI ...
or if you have SHARE_HISTORY enabled, you might want
  fc -ALI ...

> fc -A ~/.bash_history

This is not a particularly wise idea: bash and zsh do not store
history in mutually compatible formats.




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