Merge pull request #197770 from cdepillabout/graphite-completions

nodePackages.graphite-cli: add bash and zsh completion
This commit is contained in:
Dennis Gosnell
2022-10-28 10:25:46 -04:00
committed by GitHub
@@ -191,6 +191,12 @@ final: prev: {
graphite-cli = prev."@withgraphite/graphite-cli".override {
name = "graphite-cli";
nativeBuildInputs = [ pkgs.installShellFiles ];
postInstall = ''
installShellCompletion --cmd gt \
--bash <($out/bin/gt completion) \
--zsh <($out/bin/gt completion)
'';
};
graphql-language-service-cli = prev.graphql-language-service-cli.override {