summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/zsh_completion.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index f9d11063..9edcdfaf 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -202,7 +202,7 @@ _pacman_action_sync() {
_arguments -s : \
{\*-c,\*--clean}'[Remove old packages from cache]' \
"$_pacman_opts_common[@]" \
- "$_pacman_opts_sync_modifiers[@]" \
+ "$_pacman_opts_sync_modifiers[@]"
;;
sync_group)
_arguments -s : \
@@ -383,6 +383,12 @@ _pacman_zsh_comp() {
"$_pacman_opts_sync_modifiers[@]" \
'*:package group:_pacman_completions_all_groups'
;;
+ S*s*)
+ _arguments -s : \
+ "$_pacman_opts_common[@]" \
+ "$_pacman_opts_sync_modifiers[@]" \
+ '*:search text: '
+ ;;
S*)
_pacman_action_sync
;;