Update .local/share/chezmoi/home/private_dot_config/powershell/profile.ps1
This commit is contained in:
parent
f41d483cb0
commit
1c3a873bdb
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
Loading…
Reference in a new issue