diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 938e299..b236ce9 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -8,13 +8,12 @@ $env:VIRTUAL_ENV_DISABLE_PROMPT = "True" oh-my-posh init pwsh --config (Join-Path $profile_folder theme.omp.json) | Invoke-Expression -function docker { - wsl -- docker $args -} - Import-Module posh-ssh Import-Module posh-venv Import-Module DockerCompletion +Import-Module Set-PsEnv + +Enable-Dotenv Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -HistorySearchCursorMovesToEnd @@ -31,3 +30,7 @@ if (Get-Command kubectl -ErrorAction SilentlyContinue) { if (Get-Command helm -ErrorAction SilentlyContinue) { helm completion powershell | Out-String | Invoke-Expression } + +if (Get-Command glab -ErrorAction SilentlyContinue) { + glab completion -s powershell | Out-String | Invoke-Expression +}