summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-10-26 00:46:32 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-10-26 02:08:06 -0400
commit63d5ee70ab5d0daeff0e5455a462bcab16c9d95f (patch)
tree2382fdab3dffe5041acb5f833e0d762572aaa5bf /completions
parent30f5b7d25f0c011fa7caf26e162cc02848ddf538 (diff)
rename CLI option --aur -> --pur
Diffstat (limited to 'completions')
-rw-r--r--completions/bash.completion2
-rw-r--r--completions/zsh.completion4
2 files changed, 3 insertions, 3 deletions
diff --git a/completions/bash.completion b/completions/bash.completion
index 9eddba1..47a2746 100644
--- a/completions/bash.completion
+++ b/completions/bash.completion
@@ -26,7 +26,7 @@ _pacaur() {
_pacman &> /dev/null
if [[ "$cur" == -* ]]; then
case "$op" in
- S) _arch_compgen "${COMPREPLY[@]}" "-a --aur -r --repo -e --edit --devel --foreign --noedit --rebuild --silent";;
+ S) _arch_compgen "${COMPREPLY[@]}" "-p --pur -r --repo -e --edit --devel --foreign --noedit --rebuild --silent";;
esac
else
case "$op" in
diff --git a/completions/zsh.completion b/completions/zsh.completion
index d4064a4..22ec4fd 100644
--- a/completions/zsh.completion
+++ b/completions/zsh.completion
@@ -53,7 +53,7 @@ _pacaur_opts_commands=(
)
_pacaur_opts_extended=(
- {-a,--aur}'[Only search, build, install or clean target(s) from the PUR]'
+ {-p,--pur}'[Only search, build, install or clean target(s) from the PUR]'
{-e,--edit}'[Edit target(s) PKGBUILD and view install script]'
{-r,--repo}'[Only search, build, install or clean target(s) from the repositories]'
'--foreign[Consider already installed foreign dependencies]'
@@ -443,7 +443,7 @@ if [[ $words[2] != -* ]]; then
else
isaur=0
fi
-if (( $+words[(r)--aur] || $+words[(r)-S*a*] || $isaur )); then
+if (( $+words[(r)--pur] || $+words[(r)-S*p*] || $isaur )); then
completion_repo='_pacaur_completions_aur_packages'
elif (( $+words[(r)--repo] || $+words[(r)-S*r*] )); then
completion_repo='_pacaur_completions_all_packages'