Merge pull request #316173 from teto/teto/hurl-add-completion

hurl: add shell completions
This commit is contained in:
Aleksana 2024-06-01 12:28:33 +08:00 committed by GitHub
commit 21959d8d44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,13 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
installManPage docs/manual/hurl.1 docs/manual/hurlfmt.1
installShellCompletion --cmd hurl \
--bash completions/hurl.bash \
--zsh completions/_hurl \
--fish completions/hurl.fish
installShellCompletion --cmd hurlfmt \
--zsh completions/_hurlfmt
'';
meta = with lib; {

View File

@ -9009,8 +9009,6 @@ with pkgs;
hue-plus = libsForQt5.callPackage ../applications/misc/hue-plus { };
hurl = callPackage ../tools/networking/hurl { };
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };
humanfriendly = with python3Packages; toPythonApplication humanfriendly;