Updated Style and config for oh-my-posh v3
This commit is contained in:
parent
6d2a23ae04
commit
22d1b7a1bc
|
@ -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 }
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"#vi"
|
||||
],
|
||||
"vi": "~/.virc",
|
||||
"omp": "~/.oh-my-posh.omp.json",
|
||||
"zshrc": "~/.zshrc",
|
||||
"zsys": "/etc/zsys.conf",
|
||||
"shrc": "~/.shrc",
|
||||
|
|
Loading…
Reference in New Issue