diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-07-30 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-07-30 04:20:00 +0000 |
commit | b980f26d34d6950d35d99373446c113e280521bf (patch) | |
tree | e231d38e87c787f6e7588c54358c93284eca85d1 | |
parent | b9c5cc59902242d3a14ea63651b33185f3be4f1e (diff) |
git-lfs: install completions
-rw-r--r-- | pkgs/applications/version-management/git-lfs/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-lfs/default.nix b/pkgs/applications/version-management/git-lfs/default.nix index a45f184881d4a..ed36f2092716a 100644 --- a/pkgs/applications/version-management/git-lfs/default.nix +++ b/pkgs/applications/version-management/git-lfs/default.nix @@ -39,6 +39,10 @@ buildGoModule rec { postInstall = '' installManPage man/man*/* + installShellCompletion --cmd git-lfs \ + --bash <($out/bin/git-lfs completion bash) \ + --fish <($out/bin/git-lfs completion fish) \ + --zsh <($out/bin/git-lfs completion zsh) ''; passthru.tests.version = testers.testVersion { |