Updated Style and config for oh-my-posh v3

This commit is contained in:
lksz 2021-02-19 20:00:07 -05:00
parent 6d2a23ae04
commit 22d1b7a1bc
2 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,6 @@
Get-Command Set-PSReadLineKeyHandler | ForEach-Object { Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete }
Get-Command Set-Theme -ErrorAction SilentlyContinue | ForEach-Object { Set-Theme Paradox }
if( Get-Command Set-PoshPrompt -ErrorAction SilentlyContinue ) {
$local:poshPrompt = Join-Path $HOME ".oh-my-posh.omp.json"
if( -not (Test-Path $poshPrompt) ) { $poshPrompt = "powerlevel10k_classic" }
Set-PoshPrompt -Theme $poshPrompt
} elseif( Get-Command Set-Theme -ErrorAction SilentlyContinue ) { Set-Theme Paradox }

View File

@ -6,6 +6,7 @@
"#vi"
],
"vi": "~/.virc",
"omp": "~/.oh-my-posh.omp.json",
"zshrc": "~/.zshrc",
"zsys": "/etc/zsys.conf",
"shrc": "~/.shrc",