DEV Community

Discussion on: My Terminal Setup

Collapse
 
sagarpanchal profile image
Sagar Panchal

For PowerShell Core users

Install Modules (as admin)

Install-PackageProvider -Name NuGet -Force
Install-Module -Name PowerShellGet -Force
Install-Module posh-git
Install-Module oh-my-posh
Install-Module PSReadLine

profile.ps1

Clear-Host
Import-Module posh-git
Import-Module oh-my-posh
Import-Module PSReadLine

Set-Theme Robbyrussell
Set-PSReadLineOption –HistoryNoDuplicates:$True
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward