From 5ec1de397e311fe335c86c96d3662d6cf42a975c Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 21 Aug 2024 00:15:01 +0300 Subject: [PATCH] modules/dev-tools: add completions for kubectl --- modules/home-manager/programs/dev-tools.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home-manager/programs/dev-tools.nix b/modules/home-manager/programs/dev-tools.nix index 7008027..1465d7b 100644 --- a/modules/home-manager/programs/dev-tools.nix +++ b/modules/home-manager/programs/dev-tools.nix @@ -88,6 +88,10 @@ in ] )) ]; + + programs.zsh.initExtra = '' + source <(kubectl completion zsh) + ''; }) (lib.mkIf cfg.psql.enable {