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:
@@ -184,6 +184,8 @@ python3.pkgs.buildPythonApplication {
|
|||||||
<(${argcomplete}/bin/register-python-argcomplete --shell bash clan)
|
<(${argcomplete}/bin/register-python-argcomplete --shell bash clan)
|
||||||
installShellCompletion --fish --name clan.fish \
|
installShellCompletion --fish --name clan.fish \
|
||||||
<(${argcomplete}/bin/register-python-argcomplete --shell fish clan)
|
<(${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
|
# Clean up after the package to avoid leaking python packages into a devshell
|
||||||
|
|||||||
Reference in New Issue
Block a user