Skip to content

History sharing between active sessions seems broken, or isn't instant. #1209

Open
@msftrncs

Description

@msftrncs

The following documentation item would seem to imply that SaveIncrementally would allow the history to be used between sessions immediately.

-- SaveIncrementally: save history after each command is executed - and share across multiple instances of PowerShell

Environment data

PSReadLine 2.0.0-beta6
PowerShell 6.2.3 & 7.0.0-preview6
Windows 10 Insiders 19030.1

Steps to reproduce

Start multiple sessions simultaneously, enter commands in each, and afterwards use UpArrow to attempt to find each others commands in different sessions


The only result I get is that a new session created after all the commands in the different sessions, will see all the history, in the order they were entered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions