[bugfix] powershell6 does not support Set-Prompt
This commit is contained in:
parent
96718bb54d
commit
1fe43a2b86
|
@ -6,7 +6,10 @@
|
|||
Set-PSReadLineOption -EditMode Emacs
|
||||
$Env:Path += ";$PSScriptRoot\bin"
|
||||
Set-Alias -Name k kubectl
|
||||
$isPs7 = $host.Version.Major -ge 7
|
||||
if ( $isPs7 ) {
|
||||
Set-Prompt
|
||||
}
|
||||
|
||||
function kcc { k config get-contexts $args }
|
||||
function kcu { k config use-context $args}
|
||||
|
|
Loading…
Reference in New Issue
Block a user