Merge pull request #173690 from marsam/fix-tealdeer-completions

tealdeer: fix completions command name
main
davidak 2 years ago committed by GitHub
commit dcfd3528e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/tools/misc/tealdeer/default.nix

@ -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…
Cancel
Save