summary refs log tree commit diff
path: root/Completion/User/_newsgroups
blob: 74e878d1133665775dc67079955ddc783a4ce56e (plain) (blame)
1
2
3
4
5
6
7
8
9
#autoload

local expl

: ${(A)_cache_newsgroups:=${${(f)"$(fgrep -vh \! ~/.newsrc*)"}%:*}}

(( ${(w)#_cache_newsgroups} )) && _wanted newsgroups expl 'newsgroup' \
    _multi_parts "$@" -i . _cache_newsgroups