Trying to set up simple interactive interpreter, but the complete
function given to readline is not quite working. It works perfectly for
any command's first term, but fails to return any completion suggestions
from second position on. Very strange!