diff --git a/etc/_mpv.zsh b/etc/_mpv.zsh index 64795ddb23..2e4fec408b 100644 --- a/etc/_mpv.zsh +++ b/etc/_mpv.zsh @@ -65,7 +65,7 @@ function _mpv_generate_arguments { _mpv_completion_arguments+="$name" else # Find the parent option and use that with this option's name - _mpv_completion_arguments+="${_mpv_completion_arguments[(R)${name%-*}=*]/*=/$name=}" + _mpv_completion_arguments+="${(S)_mpv_completion_arguments[(R)${name%-*}=*]/*=/$name=}" fi elif [[ $desc == Print* ]]; then