new compdefs

This commit is contained in:
Alexander Gehrke (crater2150) 2016-01-05 03:55:24 +01:00
parent 0b666d1cf6
commit 58cc14e1aa
2 changed files with 157 additions and 0 deletions

8
compdef/_mediathek Normal file
View file

@ -0,0 +1,8 @@
#compdef mediathek
function _mediathek {
typeset -a targets
targets=("${(@f)$(mediathek -l)}")
_describe target targets
}