Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bash history (was Re: [blank])
- X-seq: zsh-users 29127
- From: Budi <budikusasi@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Bash history (was Re: [blank])
- Date: Tue, 15 Aug 2023 17:04:07 +0700
- Archived-at: <https://zsh.org/users/29127>
- In-reply-to: <CAH+w=7Y1Ky+ZTWtHnYpO5majTzH1hj0j3cokXkyFFqFYgmpPWQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAH0GyZCaorQv_KnNgkx00-7nMRV_-L2aLd4rkGSc8esefv3E0Q@mail.gmail.com> <CAH+w=7Y1Ky+ZTWtHnYpO5majTzH1hj0j3cokXkyFFqFYgmpPWQ@mail.gmail.com>
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