2021-03-26 14:10:18 -04:00
|
|
|
Get-Command Set-PSReadLineKeyHandler -ErrorAction SilentlyContinue |
|
|
|
|
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"
|
2021-02-22 14:58:49 -05:00
|
|
|
if( -not (Test-Path $poshPrompt) ) { $poshPrompt = "slim" }
|
2021-02-19 20:00:07 -05:00
|
|
|
Set-PoshPrompt -Theme $poshPrompt
|
|
|
|
} elseif( Get-Command Set-Theme -ErrorAction SilentlyContinue ) { Set-Theme Paradox }
|