From: Thomas Klausner <tk@giga.or.at>
To: zsh-workers@zsh.org
Subject: completion: add .ts for mplayer
Date: Thu, 1 Aug 2013 08:13:40 +0200 [thread overview]
Message-ID: <20130801061340.GC14668@danbala.tuwien.ac.at> (raw)
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
Hi!
Please add .ts (= transport stream = some kind of mpeg) as recognized
type for the mplayer completion.
Patch attached.
Thanks,
Thomas
[-- Attachment #2: patch-Completion_X_Command___mplayer --]
[-- Type: text/plain, Size: 729 bytes --]
$NetBSD: patch-Completion_X_Command___mplayer,v 1.1 2013/08/01 06:08:33 wiz Exp $
--- Completion/X/Command/_mplayer.orig 2012-01-29 18:27:45.000000000 +0000
+++ 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|webm|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|ts|vob|wav|webm|wma|wmv)(-.)" && ret=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "$expl[@]" && ret=0
reply other threads:[~2013-08-01 6:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130801061340.GC14668@danbala.tuwien.ac.at \
--to=tk@giga.or.at \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).