pwsh using emacs mode

This commit is contained in:
2025-04-24 15:54:18 +08:00
parent 5c9e6eef74
commit ed61157663

View File

@@ -1,2 +1,10 @@
# Emacs mode
Set-PSReadLineOption -EditMode Emacs
# Oh-My-Posh
Copy *.omp.json to `$env:POSH_THEMES_PATH`
Edit $PROFILE and add `oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/powerlevel10k_rainbow_eip.omp.json" | Invoke-Expression` at the top.
# Command Not Found
Import-Module -Name Microsoft.WinGet.CommandNotFound