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 @@ -477,7 +477,7 @@ _comp_cmd_scp__path_esc='[][(){}<>"'"'"',:;^&!$=?`\\|[:space:]]'
477
477
# characters are replaced with the specified value (instead of the default
478
478
# '\\&').
479
479
# @stdin List of filenames in the "ls -1F" format, where filenames are
480
- # separated by newlines, and characters /=@|* are suffixed based on the
480
+ # separated by newlines, and characters /*@|=> are suffixed based on the
481
481
# types of the files.
482
482
_comp_cmd_scp__escape_path ()
483
483
{
@@ -500,10 +500,10 @@ _comp_cmd_scp__escape_path()
500
500
-e ' /[^/]$/d' \
501
501
-e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g'
502
502
else
503
- # escape problematic characters; remove executables, aliases, pipes
504
- # and sockets ; add space at end of file names
503
+ # escape problematic characters; remove executable, symlink, pipe,
504
+ # socket and door indicators ; add space at end of file names
505
505
command sed \
506
- -e ' s/[*@|=]$//g' \
506
+ -e ' s/[*@|=> ]$//g' \
507
507
-e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g' \
508
508
-e ' s/[^/]$/& /g'
509
509
fi
You can’t perform that action at this time.
0 commit comments