Readline support is a little wonky
.match command does not enter the history .patterns does not search for when it is a number tab completes file names, but at the repl prompt it should complete commands tab could complete pattern names after a command is typed