File boo1221414-scp.patch of Package bash-completion
Do not replace COMPREPLY with _comp_compgen_split()
---
completions/ssh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/completions/ssh
+++ b/completions/ssh 2024-03-22 13:27:49.715476006 +0000
@@ -499,7 +499,7 @@ _comp_xfunc_scp_compgen_remote_files()
command sed -e 's/'"$_comp_cmd_scp__path_esc"'/\\\\\\&/g' -e 's/[*@|=]$//g' \
-e 's/[^\/]$/& /g')
fi
- _comp_compgen_split -l -- "$_files"
+ COMPREPLY+=( $_files )
}
# @deprecated 2.12 use `_comp_compgen -ax ssh remote_files` instead