Update nushell
This commit is contained in:
parent
9b27eb9e5d
commit
511195a7e5
|
@ -34,8 +34,6 @@ def _kube_kubes [] {
|
|||
|
||||
# easily switch kube config
|
||||
def --env kube [name?: string@_kube_kubes] {
|
||||
use assert
|
||||
|
||||
let kubes_path = [$env.HOME, .kubes] | path join
|
||||
|
||||
if $name == null {
|
||||
|
|
|
@ -113,7 +113,7 @@ def gclone [repo_url: string] {
|
|||
}
|
||||
|
||||
let clone_url = if $env.GCLONE_FORCE_SSH {
|
||||
$attr | format "ssh://git@{server}/{owner}/{repo}"
|
||||
$attr | format pattern "ssh://git@{server}/{owner}/{repo}"
|
||||
} else {
|
||||
$repo_url
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue