mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 23:23:20 +00:00
nix: fix shell completions
This commit is contained in:
parent
942bb4c8c4
commit
3c68cfa737
1 changed files with 4 additions and 6 deletions
10
flake.nix
10
flake.nix
|
@ -66,12 +66,10 @@
|
||||||
$out/bin/jj support mangen > ./jj.1
|
$out/bin/jj support mangen > ./jj.1
|
||||||
installManPage ./jj.1
|
installManPage ./jj.1
|
||||||
|
|
||||||
$out/bin/jj support completion --bash > ./completions.bash
|
installShellCompletion --cmd jj \
|
||||||
installShellCompletion --bash --name ${pname}.bash ./completions.bash
|
--bash <($out/bin/jj support completion --bash) \
|
||||||
$out/bin/jj support completion --fish > ./completions.fish
|
--fish <($out/bin/jj support completion --fish) \
|
||||||
installShellCompletion --fish --name ${pname}.fish ./completions.fish
|
--zsh <($out/bin/jj support completion --zsh)
|
||||||
$out/bin/jj support completion --zsh > ./completions.zsh
|
|
||||||
installShellCompletion --zsh --name _${pname} ./completions.zsh
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
default = self.packages.${system}.jujutsu;
|
default = self.packages.${system}.jujutsu;
|
||||||
|
|
Loading…
Reference in a new issue