1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

44090 (re: 44085): _remote_files: Don't set QUOTING_STYLE

The syntax was incompatible with some shells, and it's probably not a big
enough concern to work around it
This commit is contained in:
dana 2019-02-27 19:27:59 -06:00
parent c01f10db5e
commit d669a9a045
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2019-02-27 dana <dana@dana.is>
* 44090 (re: 44085): Completion/Unix/Type/_remote_files: Don't
set QUOTING_STYLE -- syntax incompatible with some shells
2019-02-26 dana <dana@dana.is>
* 44085: Completion/Unix/Type/_remote_files: Prevent ls/alias

View file

@ -61,7 +61,7 @@ if zstyle -T ":completion:${curcontext}:files" remote-access; then
# remote filenames
remfiles=(${(M)${(f)"$(
_call_program files $cmd $cmd_args $host \
QUOTING_STYLE=literal command ls -d1FL -- "$rempat" 2>/dev/null
command ls -d1FL -- "$rempat" 2>/dev/null
)"}%%[^/]#(|/)})
compset -P '*/'