tealdeer: fix completions command name

This commit is contained in:
Mario Rodas 2022-05-19 04:20:00 +00:00
parent d635ee99e3
commit b05e7b9d66

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
@ -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