mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
httpie: add fish and bash completions
This commit is contained in:
parent
9176f20bc3
commit
2167ed8aac
@ -25,6 +25,14 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# install completions
|
||||
install -Dm555 \
|
||||
extras/httpie-completion.bash \
|
||||
$out/share/bash-completion/completions/http.bash
|
||||
install -Dm555 \
|
||||
extras/httpie-completion.fish \
|
||||
$out/share/fish/vendor_completions.d/http.fish
|
||||
|
||||
mkdir -p $man/share/man/man1
|
||||
|
||||
docdir=$doc/share/doc/httpie
|
||||
|
Loading…
Reference in New Issue
Block a user