clan: install shell completions for zsh

This commit is contained in:
a-kenji 2024-06-06 23:04:40 +02:00
parent 86b08258dd
commit 02a015a1b6

View File

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