Skip to content

Commit 20af58e

Browse files
committed
tea: use installShellFiles for PowerShell completion
1 parent 04535d4 commit 20af58e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkgs/by-name/te/tea/package.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ buildGoModule (finalAttrs: {
4242
installShellCompletion --cmd tea \
4343
--bash <($out/bin/tea completion bash) \
4444
--fish <($out/bin/tea completion fish) \
45+
--powershell <($out/bin/tea completion pwsh) \
4546
--zsh <($out/bin/tea completion zsh)
4647
47-
mkdir $out/share/powershell/ -p
48-
$out/bin/tea completion pwsh > $out/share/powershell/tea.Completion.ps1
49-
5048
$out/bin/tea man --out $out/share/man/man1/tea.1
5149
'';
5250

0 commit comments

Comments
 (0)