Self-contained ruby script + database to remember uncommon shell commands.