3 local db=/usr/share/grml-tips/tags
6 if [[ ! -e $db ]]; then
7 _message 'Tip database not found: `'$db\'
15 tags=( ${(f)"$(<$db)"} )
16 _wanted tag expl 'grml-tips tag' compadd ${expl} -- ${tags}
19 args=( '--help[Display help message]'
20 '--tagsonly[Match only by tag, not by pattern]'
21 '--tipsfile[Use non-default tips-file]:_path_files'
22 '*::grml-tips tag:__grml-tips-tags' )