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 --- Completion/Unix/Type/_remote_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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