Skip to content

Commit

Permalink
tealdeer: fix completions command name
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed May 19, 2022
1 parent d635ee9 commit b05e7b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/misc/tealdeer/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
Expand All @@ -25,9 +26,10 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles pkg-config ];

postInstall = ''
installShellCompletion --bash --name tealdeer.bash bash_tealdeer
installShellCompletion --fish --name tealdeer.fish fish_tealdeer
installShellCompletion --zsh --name _tealdeer zsh_tealdeer
installShellCompletion --cmd tldr \
--bash bash_tealdeer \
--fish fish_tealdeer \
--zsh zsh_tealdeer
'';

# disable tests for now since one needs network
Expand Down

0 comments on commit b05e7b9

Please sign in to comment.