From 0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81 Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Fri, 2 Jun 2023 16:09:53 +0100 Subject: Protect some :s from history modifier expansion --- Completion/Unix/Command/_ffmpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_ffmpeg') diff --git a/Completion/Unix/Command/_ffmpeg b/Completion/Unix/Command/_ffmpeg index 1329939cd..e5afdac4f 100644 --- a/Completion/Unix/Command/_ffmpeg +++ b/Completion/Unix/Command/_ffmpeg @@ -125,7 +125,7 @@ local -a _ffmpeg_argspecs lastopt_description=${lastopt_description//:/\\:} if [[ $example == filename ]]; then lastopt_takesargs=0 - lastopt+=":$lastopt_description:_files" + lastopt+=":${lastopt_description}:_files" elif [[ $lastopt == -[asv]pre ]]; then lastopt_takesargs=0 lastopt="*$lastopt" -- cgit 1.4.1