Update nushell

This commit is contained in:
Thomas Forgione 2024-01-15 14:48:20 +01:00
parent 9b27eb9e5d
commit 511195a7e5
2 changed files with 1 additions and 3 deletions

View File

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

View File

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