Update .local/share/chezmoi/home/private_dot_config/powershell/profile.ps1

This commit is contained in:
Brian Zalewski 2022-11-30 07:52:39 +00:00
parent f41d483cb0
commit 1c3a873bdb

View file

@ -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