Skip to content

CLINK_HISTORY_LABEL doesn't work since v1.3.18 #411

@unuunn

Description

@unuunn

Hi, I use the environment variable CLINK_HISTORY_LABEL
I set it after clink inject,
recently discovered that history is written to the shared file clink_history.
Rolling back, I found that the last working version was v1.3.17.

If you run the command, the clink history command, the history file is created, but the record still goes to the general clink_history
The clink info at this time shows the correct history file from the CLINK_HISTORY_LABEL variable.

I checked with my own settings and with the default, the behavior is the same.

Notes
If I set CLINK_HISTORY_LABEL before starting clink inject it works correctly.
clink-reload doesn't help
clink history compact and etc doesn't help

Steps to reproduce:

clink.bat
SET CLINK_HISTORY_LABEL=abc123
echo some command for history
REM clink_history-abc123 still doesn't exist
clink history
REM clink_history-abc123 is created
echo some command for history
REM the record is stored in the clink_history

Windows 11 (10.0.22621.1105)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions