pass
This commit is contained in:
parent
facfda9a67
commit
647d00c8eb
|
@ -227,7 +227,7 @@ def _pass_completion [] {
|
||||||
| get parent stem
|
| get parent stem
|
||||||
| str join "/"
|
| str join "/"
|
||||||
} else {
|
} else {
|
||||||
$x.name
|
$x.name + "/"
|
||||||
}
|
}
|
||||||
| split row '/'
|
| split row '/'
|
||||||
| skip 4
|
| skip 4
|
||||||
|
@ -275,7 +275,7 @@ def-env kube [name?: string@_kube_kubes] {
|
||||||
let kube_config = [$kubes_path, $name, config] | path join
|
let kube_config = [$kubes_path, $name, config] | path join
|
||||||
|
|
||||||
if not ($kube_config | path exists) {
|
if not ($kube_config | path exists) {
|
||||||
error make {msg: ([$kube_config, " does not exist"] | str join)}
|
error make {msg: ($kube_config + " does not exist")}
|
||||||
}
|
}
|
||||||
|
|
||||||
$kube_config | save -f ([$kubes_path, current-cube] | path join)
|
$kube_config | save -f ([$kubes_path, current-cube] | path join)
|
||||||
|
|
Loading…
Reference in New Issue