index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Wallace <danielwallace@gtmanfred.com> | 2013-04-05 19:31:57 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-04-06 13:16:05 +1000 |
commit | f9280a0523d0c49039a0ad27718701c20d874ec3 (patch) | |
tree | b29d067558d7b8b11d1d710dbd6e49bd2f8b41e8 /contrib/zsh_completion.in | |
parent | 0f05bfc340891ed6649168c888bb7c598d7f0d58 (diff) |
-rw-r--r-- | contrib/zsh_completion.in | 8 |
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 ;; |