From c7c9be62b6bb03f610fec021659d4eb2476d9956 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 16 Dec 2024 12:31:56 -0800 Subject: fix alias for ukctx --- nix/users/fcuny/k8s.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nix/users/fcuny/k8s.nix') diff --git a/nix/users/fcuny/k8s.nix b/nix/users/fcuny/k8s.nix index 5461142..88a7350 100644 --- a/nix/users/fcuny/k8s.nix +++ b/nix/users/fcuny/k8s.nix @@ -25,10 +25,14 @@ }; programs.fish = { + shellAbbrs = { + k = "kubectl"; + kctx = "kubie ctx"; + klogs = "kubectl logs"; + }; shellAliases = { - ukctx = '' - GH_HOST=github.rbx.com ${pkgs.gh}/bin/gh api "repos/Roblox/cell-lifecycle/contents/rks/kubeconfig" --jq '.content' | base64 -d > ~/.kube/rksconfig - ''; + ukctx = + "${pkgs.gh}/bin/gh api --hostname github.rbx.com repos/Roblox/cell-lifecycle/contents/rks/kubeconfig --jq '.content' | base64 -d > ~/.kube/rksconfig"; }; }; } -- cgit 1.4.1