From 42602ba4fc9d9e2e594a9fea6dd786306d2c1004 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 26 Sep 2022 15:11:58 +0200 Subject: [PATCH] completions/ffmpeg: Add missing parenthesis Going by the other `string match`, this appears to just be missing a ")". Fixes #8514 --- share/completions/ffmpeg.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/ffmpeg.fish b/share/completions/ffmpeg.fish index 540bfeec2..791195be8 100644 --- a/share/completions/ffmpeg.fish +++ b/share/completions/ffmpeg.fish @@ -284,7 +284,7 @@ function __fish_ffmpeg_complete_filter set -l filter_type all if string match -rq -- '^-(vf(ilter)?|f(ilter)?:v)' (__fish_ffmpeg_last_arg) set filter_type video - else if string match -rq -- '^-(af(ilter)?|f(ilter)?:a' (__fish_ffmpeg_last_arg) + else if string match -rq -- '^-(af(ilter)?|f(ilter)?:a)' (__fish_ffmpeg_last_arg) set filter_type audio end