graphite-cli: add fish completion

This commit is contained in:
Diego Pontoriero 2024-01-31 12:42:44 -08:00
parent 215701875d
commit a6224e70a8
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, buildNpmPackage
, fetchurl
, git
, installShellFiles
}:
@ -20,6 +21,7 @@ buildNpmPackage rec {
'';
nativeBuildInputs = [
git
installShellFiles
];
@ -28,6 +30,7 @@ buildNpmPackage rec {
postInstall = ''
installShellCompletion --cmd gt \
--bash <($out/bin/gt completion) \
--fish <(GT_PAGER= $out/bin/gt fish) \
--zsh <(ZSH_NAME=zsh $out/bin/gt completion)
'';