tealdeer: fix completions command name
This commit is contained in:
parent
d635ee99e3
commit
b05e7b9d66
|
@ -1,4 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -25,9 +26,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash --name tealdeer.bash bash_tealdeer
|
installShellCompletion --cmd tldr \
|
||||||
installShellCompletion --fish --name tealdeer.fish fish_tealdeer
|
--bash bash_tealdeer \
|
||||||
installShellCompletion --zsh --name _tealdeer zsh_tealdeer
|
--fish fish_tealdeer \
|
||||||
|
--zsh zsh_tealdeer
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# disable tests for now since one needs network
|
# disable tests for now since one needs network
|
||||||
|
|
Loading…
Reference in a new issue