Skip to content

Commit

Permalink
Add PowerShell profile configuration with oh-my-posh and PSReadLine s…
Browse files Browse the repository at this point in the history
…ettings
  • Loading branch information
danieldynata committed Nov 1, 2024
1 parent 1b5d1f9 commit a0faf23
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions powershell_profile/Microsoft.Powershell_profile.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/ys.omp.json" | Invoke-Expression
# oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/stelbent-compact.minimal.omp.json" | Invoke-Expression

Import-Module -Name Terminal-Icons

Import-Module PSReadLine

Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -EditMode Windows

0 comments on commit a0faf23

Please sign in to comment.