pkg/terminal: Add auto-complete for local variables (#3004)
pkg/terminal: Add auto-complete for local variables (#3004)

* pkg/terminal: fix typo in loadConfig comment

* pkg/terminal: add auto-complete for local variables

Fixes #2944

* pkg/terminal: use an empty config to load local vars

* pkg/terminal: cache loaded local vars until next command

* pkg/terminal: lazy loading of local vars trie
go-delve/delve,go-delve/delve,go-delve/delve,go-delve/delve,go-delve/delve