Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/bash/devtools.in13
-rw-r--r--contrib/completion/zsh/_devtools.in13
2 files changed, 25 insertions, 1 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index 4c7b73a..1fbd46c 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -135,6 +135,7 @@ complete -F _offload_build offload-build
_pkgctl_cmds=(
+ aur
auth
build
db
@@ -264,6 +265,17 @@ _pkgctl_release_args__repo_opts() { _devtools_completions_repo; }
_pkgctl_release_args_r_opts() { _pkgctl_release_args__repo_opts; }
_pkgctl_release_opts() { _filedir -d; }
+_pkgctl_aur_cmds=(
+ drop-from-repo
+)
+
+_pkgctl_aur_drop_from_repo_args=(
+ --no-disown
+ -f --force
+ -h --help
+)
+_pkgctl_aur_drop_from_repo_opts() { _filedir -d; }
+
_pkgctl_repo_cmds=(
clone
@@ -308,7 +320,6 @@ _pkgctl_repo_create_args=(
-h --help
)
-
_pkgctl_repo_switch_args=(
--discard-changes
-f --force
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index b316346..5b51aff 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -96,6 +96,18 @@ _pkgctl_release_args=(
'*:git_dir:_files -/'
)
+_pkgctl_aur_cmds=(
+ "pkgctl aur command"
+ "drop-from-repo[Drop a package from the official repository to the AUR]"
+)
+
+_pkgctl_aur_drop_from_repo_args=(
+ '(-f --force)'{-f,--force}'[Force push to the AUR overwriting the remote repository]'
+ '--no-disown[Do not disown the package on the AUR]'
+ '(-h --help)'{-h,--help}'[Display usage]'
+ '*:git_dir:_files -/'
+)
+
_pkgctl_repo_cmds=(
"pkgctl repo command"
"clone[Clone a package repository]"
@@ -257,6 +269,7 @@ _devtools_completions_all_packages() {
_pkgctl_cmds=(
"pkgctl command"
+ "aur[Interact with the Arch User Repository (AUR)]"
"auth[Authenticate with services like GitLab]"
"build[Build packages inside a clean chroot]"
"db[Pacman database modification for package update, move etc]"