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). |
||
|---|---|---|
| .. | ||
| completion.zsh | ||
| default.zsh | ||
| history.zsh | ||
| match_prev_cmd.zsh | ||