about summary refs log tree commit diff
diff options
context:
space:
mode:
authordana <dana@dana.is>2019-02-27 19:27:59 -0600
committerdana <dana@dana.is>2019-02-27 19:27:59 -0600
commitd669a9a0453c84298eb9a25ac6a85b6ab9d55644 (patch)
treec921737018e173b8b0e4a98e396eb1f38cae36b0
parentc01f10db5ebdf658e892aade4a298856c616542e (diff)
downloadzsh-d669a9a0453c84298eb9a25ac6a85b6ab9d55644.tar.gz
zsh-d669a9a0453c84298eb9a25ac6a85b6ab9d55644.tar.xz
zsh-d669a9a0453c84298eb9a25ac6a85b6ab9d55644.zip
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
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_remote_files2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2baab2cf5..c10bfd6be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Completion/Unix/Type/_remote_files b/Completion/Unix/Type/_remote_files
index 89cf102cf..3fa5779c8 100644
--- a/Completion/Unix/Type/_remote_files
+++ b/Completion/Unix/Type/_remote_files
@@ -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 '*/'