aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
diff options
context:
space:
mode:
authorGravatar Philip Sequeira <phsequei@gmail.com>2016-09-10 15:08:27 -0400
committerGravatar wm4 <wm4@nowhere>2016-09-10 21:46:03 +0200
commiteec7660274886e9ca9f9cce69814fe27f774ddf3 (patch)
tree14d391324460f69df1d28a6268ce71d7b4889fe2 /TOOLS
parentdefcb9047e18f6c9fe1129fb85915344a6a57126 (diff)
TOOLS/zsh.pl: don't filter files by extension
Closes #2273. See that issue for explanation/discussion. I'll add examples on how to filter in your own config to the wiki soon: https://github.com/mpv-player/mpv/wiki/Zsh-completion-customization
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/zsh.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/TOOLS/zsh.pl b/TOOLS/zsh.pl
index 7d354b4c47..f4491e3971 100755
--- a/TOOLS/zsh.pl
+++ b/TOOLS/zsh.pl
@@ -144,8 +144,7 @@ $runtime_completions
local expl
_tags files urls
while _tags; do
- _requested files expl 'media file' _files -g \\
- "*.(#i)(asf|asx|avi|f4v|flac|flv|m1v|m2p|m2v|m4a|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|ogv|opus|qt|rm|ts|vob|wav|webm|wma|wmv|wv)(-.)" && rc=0
+ _requested files expl 'media file' _files && rc=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "\$expl[@]" && rc=0