=Testing for old version of PowerShellGet
This commit is contained in:
parent
aa44d120e4
commit
91199f7bcf
3 changed files with 18 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
Get-Command Set-PSReadLineKeyHandler | ForEach-Object { Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete }
|
||||
Get-Command Set-PSReadLineKeyHandler -ErrorAction SilentlyContinue |
|
||||
ForEach-Object { Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete }
|
||||
if( Get-Command Set-PoshPrompt -ErrorAction SilentlyContinue ) {
|
||||
$local:poshPrompt = Join-Path $HOME ".oh-my-posh.omp.json"
|
||||
if( -not (Test-Path $poshPrompt) ) { $poshPrompt = "slim" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue