Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion/zsh
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-09-02 12:31:12 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-11-26 18:23:17 +0100
commit9a356eae828ce0e75d49e3efdb42bac089eb528a (patch)
tree5001c1bd9bff0e4cff2e10d31e9ab56242f9a537 /contrib/completion/zsh
parentae14c246b800139e3a8f5589fb8fe12aaeab6a76 (diff)
feat(web): implement option to print the URL instead of opening it
In certain situations, users may encounter limitations when unable to utilize xdg-open (e.g., when connected to an Arch machine via SSH). Consequently, this commit introduces the option to simply print the repository link to copy or click on it. Signed-off-by: Christian Heusel <christian@heusel.eu> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib/completion/zsh')
-rw-r--r--contrib/completion/zsh/_devtools.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 372f07b..b82ece4 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -134,6 +134,7 @@ _pkgctl_repo_create_args=(
)
_pkgctl_repo_web_args=(
+ '--print[Print the url instead of opening it with xdg-open]'
'(-h --help)'{-h,--help}'[Display usage]'
'*:git_dir:_files -/'
)