repl: improve require() autocompletion
Currently REPL supports autocompletion for core modules and those found
in node_modules
. This commit adds tab completion for modules relative
to the current directory.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
repl