diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_newsgroups | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_newsgroups b/Completion/Unix/Type/_newsgroups new file mode 100644 index 000000000..74e878d11 --- /dev/null +++ b/Completion/Unix/Type/_newsgroups @@ -0,0 +1,9 @@ +#autoload + +local expl + +: ${(A)_cache_newsgroups:=${${(f)"$(fgrep -vh \! ~/.newsrc*)"}%:*}} + +(( ${(w)#_cache_newsgroups} )) && _wanted newsgroups expl 'newsgroup' \ + _multi_parts "$@" -i . _cache_newsgroups + |