I tried to use psreadline today. There is something i don't understand is the history command.
When I run
Set-PSReadLineOption -PredictionSource
The history suggestions start showing up.
I close the terminal ps, open it again, no history suggestions there until i run the command again.
What do I miss?
If this is the only command you are using...
.. then that is not complete.
As per the Powershell docs here: MS Docs | PSReadLine
So you have to tell it what you want:
or
The latter is the default if you don't tell it. Just put the former in all your console profiles.
Be sure to read up on ...
... and its options as well.