summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_remote_files2
1 files changed, 1 insertions, 1 deletions
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