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:
parent
c01f10db5e
commit
d669a9a045
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 '*/'
|
||||
|
|
Loading…
Reference in a new issue