From 511195a7e5d648af9f7585d65537b370ed80c53c Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 15 Jan 2024 14:48:20 +0100 Subject: [PATCH] Update nushell --- config/docker.nu | 2 -- config/gclone.nu | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/docker.nu b/config/docker.nu index 50ceb9e..662d264 100644 --- a/config/docker.nu +++ b/config/docker.nu @@ -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 { diff --git a/config/gclone.nu b/config/gclone.nu index c78a40a..9d91422 100644 --- a/config/gclone.nu +++ b/config/gclone.nu @@ -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 }