Package Details: ghorg 1.11.0-1

Git Clone URL: https://aur.archlinux.org/ghorg.git (read-only, click to copy)
Package Base: ghorg
Description: allows you to quickly clone all of an orgs, or users repos into a single directory.
Upstream URL: https://github.com/gabrie30/ghorg
Licenses: Apache-2.0
Submitter: arth
Maintainer: harmathy
Last Packager: harmathy
Votes: 3
Popularity: 0.000000
First Submitted: 2021-02-01 14:35 (UTC)
Last Updated: 2024-10-07 08:02 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

harmathy commented on 2022-01-23 12:44 (UTC)

@arth Thank you!

arth commented on 2022-01-22 12:26 (UTC)

Hi @harmathy

Good suggestion, done.

harmathy commented on 2022-01-21 15:40 (UTC) (edited on 2022-01-21 15:41 (UTC) by harmathy)

@arth the executable can create shell completion. It would be nice, if you could add them to the installation, e. g. like this

diff --git a/PKGBUILD b/PKGBUILD
index 949e73e..5cd1364 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,10 @@ makedepends=('go')
 build() {
   cd $pkgname-$pkgver
   go build
+  "./ghorg" completion bash > bash-completion
 }

 package() {
   install -Dm 755 "${srcdir}/$pkgname-$pkgver/ghorg" "${pkgdir}/usr/bin/ghorg"
+  install -Dm 644 "${srcdir}/$pkgname-$pkgver/bash-completion" "${pkgdir}/usr/share/bash-completion/completions/ghorg"
 }