Closed sandem45 closed 2 years ago
@sandem45 what is doskey? why would you want doskey to work on PowerShell? For that theme, all we do is print a line, not override anything. And PowerShell history works so I have no clue why that ancient tool doesn't work. I suggest to move to PSReadline.
@sandem45 I found a lot of posts/issues on the web stating the incompatibility with doskey and PSReadline. Therefore I'm closing this as we can't fix what we can't control. We rely on PSReadline and chances are that calling into it ruines the doskey hack (because after all, it's never designed to work with PowerShell).
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I am using windows terminal, and have oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\takuya.omp.json" | Invoke-Expression in my $profile, and I noticed this for some reason disables doskey, or in a other way makes it not work. If I remove --config ... doskey works just fine.
Theme
takuya
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output