Skip to content

history merge in private mode clears history #9050

@PatrickF1

Description

@PatrickF1
echo $version
3.5.0

Yes, I tested this without third-party customizations.

How to repro

  1. Spawn a new fish session in private mode: sh -c 'env HOME=$(mktemp -d) fish --private'
  2. Run a few commands; doesn't matter what you type because even invalid commands make it into history
  3. Check history using history
  4. history merge
  5. Check history again and notice it is now blank

Is this a bug or intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions