2020-10-02 12:45:04 -04:00
|
|
|
Get-Command Set-PSReadLineKeyHandler | ForEach-Object { Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete }
|
2021-02-19 20:00:07 -05:00
|
|
|
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 }
|