mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
[zsh-completion] Fix a bug where _fzf_complete did not iterate through args (#1936)
This commit is contained in:
@@ -112,7 +112,7 @@ _fzf_complete() {
|
||||
local args rest str_arg i sep
|
||||
args=("$@")
|
||||
sep=
|
||||
for i in {0..$#args}; do
|
||||
for i in {0..${#args[@]}}; do
|
||||
if [[ "${args[$i]}" = -- ]]; then
|
||||
sep=$i
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user