diff --git a/dotfiles/pwsh/powershell_profile.ps1 b/dotfiles/pwsh/powershell_profile.ps1 index c8d734a..ff955e0 100644 --- a/dotfiles/pwsh/powershell_profile.ps1 +++ b/dotfiles/pwsh/powershell_profile.ps1 @@ -91,12 +91,6 @@ function Reset-EncodingSettings { [console]::OutputEncoding = [System.Text.Encoding]::Default } -# for chezmoi -$Editor = "C:\Users\Owner\AppData\Local\Programs\Microsoft VS Code\Code.exe" - -# oh my posh -# oh-my-posh --init --shell pwsh --config ~/AppData/Local/Programs/oh-my-posh/themes/capr4n.omp.json | Invoke-Expression - # shortcut to enable ssh-agent function Enable-SshAgent { <# @@ -119,6 +113,12 @@ function Enable-SshAgent { } # execute "ssh-add" to add keys + +# less options +$env:LESS = "-M -R -S -W -z-4 -x4" + + + # chezmoi completion $script = "$HOME\.config\powershell\chezmoi_completion.ps1" if (Test-Path $script) {