mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-23 03:34:43 +01:00
The `zsh -f` running in the PTY doesn't know about the non-exported variables and functions defined in the original shell, thus can't make suggestions for them. Run local functions in the PTY instead of a new `zsh` process. We have to handle things differently based on whether zle is active or not (async vs. sync mode).
24 KiB
24 KiB