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

Re: Bash history (was Re: [blank])



EXCELLENT !!!

THANKS MUCH

On 8/15/23, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> 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