From 02a015a1b63c35e64b2d134f3ec3d17fb06064eb Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 6 Jun 2024 23:04:40 +0200 Subject: [PATCH] clan: install shell completions for `zsh` --- pkgs/clan-cli/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index 9ecd8792..fc4aa1e9 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -184,6 +184,8 @@ python3.pkgs.buildPythonApplication { <(${argcomplete}/bin/register-python-argcomplete --shell bash clan) installShellCompletion --fish --name clan.fish \ <(${argcomplete}/bin/register-python-argcomplete --shell fish clan) + installShellCompletion --zsh --name _clan \ + <(${argcomplete}/bin/register-python-argcomplete --shell bash clan) ''; # Clean up after the package to avoid leaking python packages into a devshell