Skip to content

Commit

Permalink
trashy: Generate and install man page
Browse files Browse the repository at this point in the history
  • Loading branch information
stelcodes committed Oct 12, 2023
1 parent 6488bce commit 5cd96de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/tools/misc/trashy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --cmd trash \
--bash <($out/bin/trash completions bash) \
--fish <($out/bin/trash completions fish) \
--zsh <($out/bin/trash completions zsh) \
--zsh <($out/bin/trash completions zsh)
$out/bin/trash manpage > trash.1
cp trash.1 trashy.1
installManPage trash.1 trashy.1
'';

meta = with lib; {
Expand Down

0 comments on commit 5cd96de

Please sign in to comment.