khal: fix fish/zsh completion

This commit is contained in:
Gabriel Ebner 2022-09-03 11:56:49 +02:00
parent bef7a8c36f
commit 91e18cd7cd

View File

@ -32,8 +32,8 @@ with python3.pkgs; buildPythonApplication rec {
# shell completions
installShellCompletion --cmd khal \
--bash <(_KHAL_COMPLETE=bash_source $out/bin/khal) \
--fish <(_KHAL_COMPLETE=zsh_source $out/bin/khal) \
--zsh <(_KHAL_COMPLETE=fish_source $out/bin/khal)
--zsh <(_KHAL_COMPLETE=zsh_source $out/bin/khal) \
--fish <(_KHAL_COMPLETE=fish_source $out/bin/khal)
# man page
PATH="${python3.withPackages (ps: with ps; [ sphinx sphinxcontrib_newsfeed ])}/bin:$PATH" \