Hi everyone, _mplayer does not complete .webm video files by default, the attached patch fixes this. --Daniel
From d5f3642e8d1e5d95633479b0ae11896feb92020d Mon Sep 17 00:00:00 2001 From: Daniel Friesel <derf@xxxxxxxxxxxxxxx> Date: Wed, 21 Sep 2011 22:10:08 +0200 Subject: [PATCH] Completion/X/Command/_mplayer: Add .webm videos to completion --- Completion/X/Command/_mplayer | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer index 2036798..85c4f6d 100644 --- a/Completion/X/Command/_mplayer +++ b/Completion/X/Command/_mplayer @@ -115,7 +115,7 @@ case "$state" in _tags files urls while _tags; do _requested files expl 'video file' _files -g \ - "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0 + "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|webm|wma|wmv)(-.)" && ret=0 if _requested urls; then while _next_label urls expl URL; do _urls "$expl[@]" && ret=0 -- 1.7.6.3
Attachment:
signature.asc
Description: Digital signature