1
0
forked from clan/clan-core

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

Reviewed-on: clan/clan-core#1584
This commit is contained in:
kenji 2024-06-07 07:57:40 +00:00
commit 6f1300f819

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