This commit is contained in:
Thomas Forgione 2023-11-11 18:50:02 +01:00
parent facfda9a67
commit 647d00c8eb
1 changed files with 2 additions and 2 deletions

View File

@ -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)