Default profile for powershell (on new windows terminal) #10817

Closed
opened 2026-01-31 02:31:07 +00:00 by claunia · 1 comment
Owner

Originally created by @EArminjon on GitHub (Sep 28, 2020).

Hi,

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 every windows terminal with 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.)

Originally created by @EArminjon on GitHub (Sep 28, 2020). Hi, 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 every windows terminal with 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.)
Author
Owner

@DHowett commented on GitHub (Sep 28, 2020):

Terminal cannot control the configuration of PowerShell. Terminal is just a pretty box that you can use to access powershell. It would be very good for you to file this as a request for new defaults on the powershell repository! They would like to hear this.

@DHowett commented on GitHub (Sep 28, 2020): Terminal cannot control the _configuration of PowerShell_. Terminal is just a pretty box that you can use to _access_ powershell. It would be very good for you to file this as a request for new defaults on the [powershell repository](https://github.com/powershell/powershell)! They would like to hear this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10817