File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ _comp_cmd_scp__path_esc='[][(){}<>"'"'"',:;^&!$=?`\\|[:space:]]'
473
473
# characters are replaced with the specified value (instead of the default
474
474
# '\\&').
475
475
# @stdin List of filenames in the "ls -1F" format, where filenames are
476
- # separated by newlines, and characters /=@|* are suffixed based on the
476
+ # separated by newlines, and characters /*@|=> are suffixed based on the
477
477
# types of the files.
478
478
_comp_cmd_scp__escape_path ()
479
479
{
@@ -496,10 +496,10 @@ _comp_cmd_scp__escape_path()
496
496
-e ' /[^/]$/d' \
497
497
-e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g'
498
498
else
499
- # escape problematic characters; remove executables, aliases, pipes
500
- # and sockets ; add space at end of file names
499
+ # escape problematic characters; remove executable, symlink, pipe,
500
+ # socket and door indicators ; add space at end of file names
501
501
command sed \
502
- -e ' s/[*@|=]$//g' \
502
+ -e ' s/[*@|=> ]$//g' \
503
503
-e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g' \
504
504
-e ' s/[^/]$/& /g'
505
505
fi
You can’t perform that action at this time.
0 commit comments