Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-09-13 00:24:31 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:12 +0200
commitd15bd29a9d411dedc0a0682ec54b55e079d4f00f (patch)
treef65c08932c8723804fa55f7a8c5c7291b08d7ccf /contrib/completion
parent95424a88eb11e06b7290fcabd6e3a6cf2b9cc9b3 (diff)
pkgrepo: add subcommand to open the packaging repository's website
This can be quite handy if a packager quickly wants to check the GitLab page for merge requests or but reports. Quickly calling a cli command inside the current packaging clone or with the pkgname provided will open the remote location inside the browser. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/zsh/_devtools.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 06e05e1..d30648a 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -19,6 +19,7 @@ _pkgrepo_cmds=(
"pkgrepo command"
"clone[Clone a package repository]"
"configure[Configure a clone according to distro specs]"
+ "web[Open the packaging repository's website]"
)
_pkgrepo_clone_args=(
@@ -35,6 +36,11 @@ _pkgrepo_configure_args=(
'*:git_dir:_files -/'
)
+_pkgrepo_web_args=(
+ '(-h --help)'{-h,--help}'[Display usage]'
+ '*:git_dir:_files -/'
+)
+
_arch_nspawn_args=(
'-C[Location of a pacman config file]:pacman_config:_files -g "*.conf(.)"'
'-M[Location of a makepkg config file]:makepkg_config:_files -g "*.conf(.)"'