From 1874f5691f74298075145f59c398d006c90dbc83 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 1 Dec 2023 13:48:00 +0100 Subject: [PATCH] Shortcuts --- nushell/config/docker.nu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nushell/config/docker.nu b/nushell/config/docker.nu index 9ac47d6..60f4a66 100644 --- a/nushell/config/docker.nu +++ b/nushell/config/docker.nu @@ -57,6 +57,10 @@ def --env kube [name?: string@_kube_kubes] { # k9s alias kns = k9s -n all +# k9s shortcut for each cluster +alias zeus = k9s --kubeconfig ($env.HOME + '/.kubes/zeus/config') +alias safir = k9s --kubeconfig ($env.HOME + '/.kubes/safir/config') + # start minikube with test kube def "minikube start" [] { $env.KUBECONFIG = ([$env.HOME, '.kubes', 'test', 'config'] | path join)