Write new commands into readline history
Merge pull request #7 from pd/readline

Write new commands into readline history