diff options
author | Franck Cuny <franck@fcuny.net> | 2024-12-16 12:31:56 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-12-16 12:31:56 -0800 |
commit | c7c9be62b6bb03f610fec021659d4eb2476d9956 (patch) | |
tree | 6afc4eb50b73ed2f9448091f3bd57919f35ead77 /nix/users/fcuny/k8s.nix | |
parent | enable fish integration for direnv (diff) | |
download | world-c7c9be62b6bb03f610fec021659d4eb2476d9956.tar.gz |
fix alias for ukctx
Diffstat (limited to 'nix/users/fcuny/k8s.nix')
-rw-r--r-- | nix/users/fcuny/k8s.nix | 10 |
1 files changed, 7 insertions, 3 deletions
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"; }; }; } |