summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash_completion4
-rw-r--r--contrib/zsh_completion6
2 files changed, 2 insertions, 8 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index d0851e70..77192858 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -177,7 +177,7 @@ _pacman ()
changelog) mod="${mod}c" ;;
deps) mod="${mod}d" ;;
explicit) mod="${mod}e" ;;
- orphans) mod="${mod}t" ;;
+ unrequired) mod="${mod}t" ;;
foreign) mod="${mod}m" ;;
owns) mod="${mod}o" ;;
file) mod="${mod}p" ;;
@@ -298,7 +298,7 @@ _pacman ()
-o --owns \
-p --file \
-s --search \
- -t --orphans \
+ -t --unrequired \
-u --upgrades \
--config \
--logfile \
diff --git a/contrib/zsh_completion b/contrib/zsh_completion
index f6cd9008..5ea6c33b 100644
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -38,7 +38,6 @@ _pacman_opts_pkgfile=(
# options for passing to _arguments: subactions for --query command
_pacman_opts_query_actions=(
- '-e[List orphaned packages]:*:orphans:->query_orphans'
'-g[View all members of a package group]:*:package groups:->query_group'
'-o[Query the package that owns a file]:file:_files'
'-p[Package file to query]:*:package file:->query_file'
@@ -135,11 +134,6 @@ _pacman_action_query() {
"$_pacman_opts_query_modifiers[@]" \
'*:groups:_pacman_completions_installed_groups'
;;
- query_orphans)
- _arguments -s : \
- "$_pacman_opts_common[@]" \
- "$_pacman_opts_query_modifiers[@]"
- ;;
query_owner)
_arguments -s : \
"$_pacman_opts_common[@]" \