From 9b27eb9e5dc8b39364b4a26a372041cfd1c12557 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 10 Jan 2024 11:40:36 +0100 Subject: [PATCH] Better aliases --- config/docker.nu | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/docker.nu b/config/docker.nu index 1d2d6b8..50ceb9e 100644 --- a/config/docker.nu +++ b/config/docker.nu @@ -57,10 +57,19 @@ def --env kube [name?: string@_kube_kubes] { # k9s alias kns = k9s -n all -# lazydocker / k9s shortcut for each compose / cluster +# shortcut for lazydocker on pi alias pi = ssh pi -t "cd www/docker && /home/pi/.local/bin/lazydocker" -alias mnemosyne = ssh phoenix -t "cd infra && /home/polymny/.local/bin/lazydocker" + +# shortcut for lazydocker on phoenix's prod +alias mnemosyne = ssh phoenix -t "cd prod && /home/polymny/.local/bin/lazydocker" + +# shortcut for lazydocker on phoenix's infra +alias infra = ssh phoenix -t "cd infra && /home/polymny/.local/bin/lazydocker" + +# shortcut for kns zeus's kubernetes cluster alias zeus = k9s -n all --kubeconfig ($env.HOME + '/.kubes/zeus/config') + +# shortcut for kns safir's kubernetes cluster alias safir = k9s -n all --kubeconfig ($env.HOME + '/.kubes/safir/config') # start minikube with test kube