Fix missing 'history -a' in prompt command