We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f391bbb commit 4babb5aCopy full SHA for 4babb5a
completions/ssh
@@ -435,8 +435,6 @@ _comp_cmd_scp__path_esc='[][(){}<>"'"'"',:;^&!$=?`\\|[:space:]]'
435
# shellcheck disable=SC2120
436
_comp_xfunc_ssh_scp_remote_files()
437
{
438
- local IFS=$'\n'
439
-
440
# remove backslash escape from the first colon
441
cur=${cur/\\:/:}
442
@@ -468,7 +466,7 @@ _comp_xfunc_ssh_scp_remote_files()
468
466
command sed -e 's/'"$_comp_cmd_scp__path_esc"'/\\\\\\&/g' -e 's/[*@|=]$//g' \
469
467
-e 's/[^\/]$/& /g')
470
fi
471
- COMPREPLY+=($files)
+ _comp_split -la COMPREPLY "$files"
472
}
473
474
_comp_deprecate_func _scp_remote_files _comp_xfunc_ssh_scp_remote_files
0 commit comments