From 079046863c0a9f5bc37d629bab02dccffcf329bc Mon Sep 17 00:00:00 2001 From: Chitoku Date: Tue, 24 Mar 2020 08:58:22 +0900 Subject: [zsh-completion] Fix a bug where _fzf_complete did not iterate through args (#1936) --- shell/completion.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/completion.zsh') diff --git a/shell/completion.zsh b/shell/completion.zsh index 2444cbdb..b6aec33c 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -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 -- cgit v1.2.3