From 8e1c6ed6bf416e7716b4c6d5c6822ec752db7b36 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Sun, 24 Jul 2022 21:08:06 +0900 Subject: 50421: add context as the 1st arg to _dispatch --- ChangeLog | 3 +++ Completion/Zsh/Context/_redirect | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce2ec2dd3..660fbbd6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-07-24 Jun-ichi Takimoto + * 50421: Completion/Zsh/Context/_redirect: add missing context + as the 1st argument to _dispatch + * 50418: Src/zsh_system.h, configure.ac: use setenv(3)/getenv(3) on newer macOS diff --git a/Completion/Zsh/Context/_redirect b/Completion/Zsh/Context/_redirect index e6da5d115..520a7666e 100644 --- a/Completion/Zsh/Context/_redirect +++ b/Completion/Zsh/Context/_redirect @@ -15,4 +15,5 @@ if [[ "$CURRENT" != "1" ]]; then fi fi -_dispatch -redirect-,{${compstate[redirect]},-default-},${^strs} +_dispatch -redirect-,${compstate[redirect]},$_comp_command \ + -redirect-,{${compstate[redirect]},-default-},${^strs} -- cgit 1.4.1