mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
unposted: fix typo that was causing handling of "--" argument to fail
This commit is contained in:
parent
060ff48915
commit
ad085f1dec
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,9 @@
|
|||
|
||||
2016-11-03 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 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 <p.stephenson@samsung.com>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue