commit:     22f2f1fae54d9242b2e9a2fbc49918f1dbe6edbb
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Mon Aug 25 16:04:21 2014 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Mon Aug 25 16:11:25 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=22f2f1fa

_eselect: news fix (typo in regexp)

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 _eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_eselect b/_eselect
index 796a819..c012955 100644
--- a/_eselect
+++ b/_eselect
@@ -134,7 +134,7 @@ _eselect_news() {
                _values -w 'news' 'new[Count only new news items]' 'all[Count 
all news items]' && return 0
                fi
 
-               newslist=(${${${${${${${(M)${(f)"$(eselect --color=no news 
list)"}## *}// \**/}/ \[/}/\] ##/\[}/%/]}/ \[/ (}/\] /) })
+               newslist=(${${${${${${${(M)${(f)"$(eselect --color=no news 
list)"}## *}// \**/}/  \[/}/\] ##/\[}/%/]}/ \[/ (}/\] /) })
 
                if (( $words[(I)(read)] )); then
                        newslist+=( "new[Read unread news items (default)]" 
"all[Read all news items]" "--mbox[Output in mbox format]" "--quiet[Suppress 
output, only change status]" "--raw[Output in raw format]" )

Reply via email to