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

Open
opened 2026-01-31 02:31:04 +00:00 by claunia · 0 comments
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.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10815