diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2016-11-03 09:10:18 -0700 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-11-03 09:13:03 -0700 |
| commit | ad085f1dec0131b430760b739b59d9a74579199a (patch) | |
| tree | 3715c97e35fd0836dbee4ab83e49e79dc6f28c30 /Completion/Unix | |
| parent | 39820: vi-repeat handles multi-key bindings (diff) | |
| download | zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar.gz zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar.bz2 zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar.lz zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar.xz zsh-ad085f1dec0131b430760b739b59d9a74579199a.tar.zst zsh-ad085f1dec0131b430760b739b59d9a74579199a.zip | |
unposted: fix typo that was causing handling of "--" argument to fail
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_remote_files | 2 |
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 |
