From 1c3a873bdb7a1affe9238ebd61dcc35f790d1a12 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 30 Nov 2022 07:52:39 +0000 Subject: [PATCH] Update .local/share/chezmoi/home/private_dot_config/powershell/profile.ps1 --- .../powershell/{user_profile.ps1.TODO => profile.ps1} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename .local/share/chezmoi/home/private_dot_config/powershell/{user_profile.ps1.TODO => profile.ps1} (92%) 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