Getting the list of command history using Clink

clinkcommand linehistory

I recently installed Clink and I'm quite happy with the history being kept in between session and the ability to search history using Ctrl+R / Ctrl-S.

However, I would very much like to have access to the full list of commands that Clink currently has, much like the history command on *nix system.

Despite what I consider thorough online search, I've not found any Clink hotkey or script to do so. If anyone has a working solution for that, I'd be very interested to hear about it.

Best Answer

Workaround:

type "%LOCALAPPDATA%\clink\.history"

But by default clink writes history only on exit, to change it:

clink set history_io 1

or modify history_io value in %LOCALAPPDATA%\clink\settings

Related Question