ignore repl history
fix formatting, and order for conditional