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:]]'
473473# characters are replaced with the specified value (instead of the default
474474# '\\&').
475475# @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
477477# types of the files.
478478_comp_cmd_scp__escape_path ()
479479{
@@ -496,10 +496,10 @@ _comp_cmd_scp__escape_path()
496496 -e ' /[^/]$/d' \
497497 -e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g'
498498 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
501501 command sed \
502- -e ' s/[*@|=]$//g' \
502+ -e ' s/[*@|=> ]$//g' \
503503 -e ' s/' " $_comp_cmd_scp__path_esc " ' /' " $escape_replacement " ' /g' \
504504 -e ' s/[^/]$/& /g'
505505 fi
You can’t perform that action at this time.
0 commit comments