1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

50421: add context as the 1st arg to _dispatch

This commit is contained in:
Jun-ichi Takimoto 2022-07-24 21:08:06 +09:00
parent ac6257f150
commit 8e1c6ed6bf
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2022-07-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 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

View file

@ -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}