From f74f296947fe7a5ae2081fcf4bae45ad8e5da39c Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Wed, 7 Aug 2024 23:47:43 +0000 Subject: [PATCH] add oh-my-posh completion --- home/dot_config/powershell/Microsoft.PowerShell_profile.ps1 | 1 + home/dot_config/powershell/Microsoft.VSCode_profile.ps1 | 1 + 2 files changed, 2 insertions(+) diff --git a/home/dot_config/powershell/Microsoft.PowerShell_profile.ps1 b/home/dot_config/powershell/Microsoft.PowerShell_profile.ps1 index 82f07dd..e992154 100644 --- a/home/dot_config/powershell/Microsoft.PowerShell_profile.ps1 +++ b/home/dot_config/powershell/Microsoft.PowerShell_profile.ps1 @@ -18,4 +18,5 @@ if ($env:POSH_THEME_NAME) { & ([ScriptBlock]::Create((oh-my-posh init pwsh --config "$env:HOME/.config/oh-my-posh/themes/devcontainers.minimal.omp.json" --print) -join "`n")) } if ($env:POSH_DISABLE_UPGRADE_NOTICE -eq $true) { oh-my-posh disable notice } +oh-my-posh completion powershell | Out-String | Invoke-Expression #endregion Theme diff --git a/home/dot_config/powershell/Microsoft.VSCode_profile.ps1 b/home/dot_config/powershell/Microsoft.VSCode_profile.ps1 index 887bb76..f42f863 100644 --- a/home/dot_config/powershell/Microsoft.VSCode_profile.ps1 +++ b/home/dot_config/powershell/Microsoft.VSCode_profile.ps1 @@ -18,4 +18,5 @@ if ($env:POSH_THEME_NAME) { & ([ScriptBlock]::Create((oh-my-posh init pwsh --config "$env:HOME/.config/oh-my-posh/themes/devcontainers.minimal.omp.json" --print) -join "`n")) } if ($env:POSH_DISABLE_UPGRADE_NOTICE -eq $true) { oh-my-posh disable notice } +oh-my-posh completion powershell | Out-String | Invoke-Expression #endregion Theme