On a Windows 7 machine, on the current version of VS Code and PowerShell 5.0.10586.117.
The integrated terminal for PowerShell has no color syntax highlighting. Changing the PSReadLine options has not effect and revert back when restarting the…
I'm new to PowerShell and installed PSReadline (via PsGet). Now I want to add the sample key binding in my profile file, should I just copy & paste the contents or is it better to load the file? How do I do that?
I'm trying to become one with PowerShell and found a feature that I really love but do not understand how to make it work consistently.
PowerShell can go into a mode where it shows an incrementally updated picklist of history items as you type. You…
I'm using PSReadLine version 2.2.6 (with PowerShell 7.3.) with the following configuration options:
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -EditMode Windows
Imagine that in my history, I have previously…
Every command I enter are saved in history but I want not to save the command that are shown error in the shell.
what should i add in the powershell config to do that
Exception thrown after upgrading to Powershell 7.2.0 while using PSReadLine
### Environment
PSReadLine: 2.2.0-beta1
PowerShell: 7.2.0
OS: Microsoft Windows 10.0.22000
BufferWidth: 309
BufferHeight: 55
Last 0 Keys
System.TypeLoadException: Could…
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…
The Problem:
The problem is that when I change the cursor PowerShell 7.1.3 to the "Vertical Bar" but then as soon as I type something or press enter in the terminal the cursor changes back to "Legacy Style".
Things I have tried:
I have tried…
I used to use zsh, but I've got some cross-platform scripts written in pwsh. As a macOS user, I use homebrew constantly. The thing bothers me most is that homebrew official doesn't provide pwsh autocompletion. How can I get one?
I'm wondering if anybody else has noticed that having the PSReadLine module installed in PowerShell seems to break the native ability it has to allow us to arrow-down through subsequent commands after using arrow-up to find and execute a previous…
You can define auto-completion results for parameter values in a variety of different ways such as using dynamic parameters, the CompletionResult class within a parameter's ArgumentCompleter attribute declaration, the ValidateSet attribute, etc.
If…