diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-05-05 08:47:54 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-05-05 08:47:54 +0000 |
commit | 0b61406ea9f130e7c8930fc199e2bf7121d75acc (patch) | |
tree | 62c4921397d6e3f5e2f7169102dc2cfa814ae591 /Completion/Unix/Command | |
parent | 7125514c462ac366ca0c6ed0d2f15b4d4ad4a79a (diff) | |
download | zsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.tar.gz zsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.tar.xz zsh-0b61406ea9f130e7c8930fc199e2bf7121d75acc.zip |
martin f. krafft: 26922: extend xmms2 completion
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_xmms2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_xmms2 b/Completion/Unix/Command/_xmms2 index f132ada35..d25802ed1 100644 --- a/Completion/Unix/Command/_xmms2 +++ b/Completion/Unix/Command/_xmms2 @@ -190,6 +190,20 @@ _xmms2_coll_attr() { _xmms2_coll_helper } +_xmms2_add() { + _files +} + +_xmms2_radd() { + _dirs +} + +_xmms2_addpls() { + local expl + _description files expl 'playlist' + _files "$expl[@]" -g '*.([mM]3[uU]|[pP][lL][sS])' +} + _xmms2() { _arguments \ '--format[specify the format of song display]:format string' \ |