From ad085f1dec0131b430760b739b59d9a74579199a Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Thu, 3 Nov 2016 09:10:18 -0700 Subject: unposted: fix typo that was causing handling of "--" argument to fail --- ChangeLog | 3 +++ Completion/Unix/Type/_remote_files | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0ad122db1..659b4d1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ 2016-11-03 Barton E. Schaefer + * unposted: Completion/Unix/Type/_remote_files: fix typo that + was causing handling of "--" argument to fail + * 39820: Src/Zle/zle_vi.c: vi-repeat handles multi-key bindings 2016-11-03 Peter Stephenson diff --git a/Completion/Unix/Type/_remote_files b/Completion/Unix/Type/_remote_files index dbfb56134..1e9fed15e 100644 --- a/Completion/Unix/Type/_remote_files +++ b/Completion/Unix/Type/_remote_files @@ -40,7 +40,7 @@ if zstyle -T ":completion:${curcontext}:files" remote-access; then args=( ${argv[1,(i)--]} ) shift ${#args} - [[ args[-1] = -- ]] && args[-1]=() + [[ $args[-1] = -- ]] && args[-1]=() # Command to run on the remote system. cmd="$1" shift -- cgit 1.4.1