diff --git a/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO b/.local/share/chezmoi/home/private_dot_config/powershell/profile.ps1 similarity index 92% rename from .local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO rename to .local/share/chezmoi/home/private_dot_config/powershell/profile.ps1 index 642ae995..631dcd16 100644 --- a/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO +++ b/.local/share/chezmoi/home/private_dot_config/powershell/profile.ps1 @@ -1,7 +1,12 @@ -# set PowerShell to UTF-8 +# Env +$env:EDITOR = 'code --wait' +$env:GIT_SSH = "C:\Windows\system32\OpenSSH\ssh.exe" + +# Set PowerShell to UTF-8 [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding ### Oh My Posh +Install-Module posh-git oh-my-posh init pwsh --config "$env:HOME/.config/oh-my-posh/Betelgeuse.omp.json" | Invoke-Expression # Import-Module -Name Terminal-Icons @@ -22,9 +27,6 @@ Invoke-Expression (& { (zoxide init --hook $hook powershell | Out-String) }) -# Env -$env:GIT_SSH = "C:\Windows\system32\OpenSSH\ssh.exe" - ### Aliases Set-Alias grep findstr