Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
opencode


Commits:
406f6c63 by Lucas Grzegorczyk at 2026-09-16T18:33:16+02:00
fix: Bash and zsh completion

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -67,8 +67,8 @@ package() {
 
   install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 
-  SHELL=/bin/bash "$pkgdir/usr/bin/opencode" completion \
+  "$pkgdir/usr/bin/opencode" --completions bash \
     | install -vDm644 /dev/stdin 
"$pkgdir/usr/share/bash-completion/completions/opencode"
-  SHELL=/bin/zsh "$pkgdir/usr/bin/opencode" completion \
+  "$pkgdir/usr/bin/opencode" --completions zsh \
     | install -vDm644 /dev/stdin 
"$pkgdir/usr/share/zsh/site-functions/_opencode"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/opencode/-/commit/406f6c636c8e6aaf4a070bfaf08f8da1e519c6f0

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/opencode/-/commit/406f6c636c8e6aaf4a070bfaf08f8da1e519c6f0
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to