Merge pull request 'clan: install shell completions for zsh' (#1584) from kenji/clan-core:enable-zsh-completions into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1584
This commit is contained in:
kenji
2024-06-07 07:57:40 +00:00

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