fabric: add shell completions

This commit is contained in:
jaredmontoya
2025-12-13 21:15:54 +01:00
parent 365e8edf71
commit c7042f1ce1
+10
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
installShellFiles,
nix-update-script,
}:
@@ -26,6 +27,15 @@ buildGoModule rec {
"-w"
];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion \
--bash ./completions/fabric.bash \
--zsh ./completions/_fabric \
--fish ./completions/fabric.fish
'';
passthru.updateScript = nix-update-script { };
meta = {