Merge pull request #197770 from cdepillabout/graphite-completions
nodePackages.graphite-cli: add bash and zsh completion
This commit is contained in:
commit
1e8348a3ad
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user