Better aliases

This commit is contained in:
Thomas Forgione 2024-01-10 11:40:36 +01:00
parent b2f4e1457f
commit 9b27eb9e5d
1 changed files with 11 additions and 2 deletions

View File

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