Feature Request: Default profile for powershell
See original GitHub issueHi,
I spent always long minutes to setup terminal for people and i didn’t understand why the following profile is not the default one for powershell :
Import-Module PSReadLine
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineOption -predictionsource history
Set-PSReadLineOption -HistorySearchCursorMovesToEnd
It requiert “PSReadLine 2.1.0-beta2” (didn’t know why these features are just in beta, because they exist on every other OS since many years, but that’s not the point.)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
PowerShell Profile : A Getting Started Guide
A newly-created PowerShell profile is blank by default. You can include variables, aliases, and commands you frequently use in your PowerShell ...
Read more >about Profiles - PowerShell
A PowerShell profile is a script that runs when PowerShell starts. You can use the profile as a startup script to customize your...
Read more >Persistent PowerShell: The PowerShell Profile - Simple Talk
Profiles are PowerShell scripts that run at startup, ... the other three profile property names to access one of the non-default profiles.
Read more >Terminal Profiles in Visual Studio Code
Configure your default profile by running the Terminal: Select Default Profile command, which is also accessible via the new terminal dropdown. Select Default...
Read more >Is it possible to start Powershell ISE with specified (not ...
I want to have several (more than one) PowerShell profiles which will create different environments. More specifically I need way for start ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The only one in beta currently as far as I’m aware is the
-PredictionSourceoption.As for the rest, the default settings are handled by PSReadLine itself, so it might be better to ask in that repository instead of this one. 🙂
Those have been the default options for PowerShell since windows PowerShell V1. On linux default tab behaviour is different and setting edit mode allows you to get a different one. TBH, it is so ingrained for every existing PowerShell user , and included in so many documents that changing it to someone else’s preference has very little chance of happening. I’d leave users to set their own preferences, most of us have our own customizations and I would impose mine on my user community.