diff options
author | Stephane Chazelas <stephane@chazelas.org> | 2023-06-02 16:09:53 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-06-06 09:22:18 +0100 |
commit | 0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81 (patch) | |
tree | 3a0d5928ee437d4e210e9224aec347baaa8c04bf /Completion/Unix/Command/_ffmpeg | |
parent | 78102120b9c9e7485e7f537864fc2c24fbe0071a (diff) | |
download | zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.gz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.xz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.zip |
Protect some :s from history modifier expansion
Diffstat (limited to 'Completion/Unix/Command/_ffmpeg')
-rw-r--r-- | Completion/Unix/Command/_ffmpeg | 2 |
1 files changed, 1 insertions, 1 deletions
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" |