From a0faf23cb0113c48e2cef684d682556ca73a58dc Mon Sep 17 00:00:00 2001 From: "Daniel.Dieppa" Date: Fri, 1 Nov 2024 15:39:31 -0400 Subject: [PATCH] Add PowerShell profile configuration with oh-my-posh and PSReadLine settings --- powershell_profile/Microsoft.Powershell_profile.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 powershell_profile/Microsoft.Powershell_profile.ps1 diff --git a/powershell_profile/Microsoft.Powershell_profile.ps1 b/powershell_profile/Microsoft.Powershell_profile.ps1 new file mode 100644 index 0000000..9aec19b --- /dev/null +++ b/powershell_profile/Microsoft.Powershell_profile.ps1 @@ -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 \ No newline at end of file