repl: improved completion