How to paste a tab-formatted SQL command into MySQL shell?

The permanent way

How to disable the «automatic rehashing» feature of mysql by default?

A temporary way

Use the --disable-auto-rehash option for the mysql command.