Pasting multi-lines in terminal


The main problem while working at terminal, there is just one line to do everything. As everybody knows that situation makes problem about indenting. Another problem, when multi-lines copied from anywhere bash directly execute all codes so it can occur problem about data.

In this situation the easiest way is using C-x C-e command that open default editor which define on the system.

for bash:

For zsh:

! Don’t forget to restart bash or zsh

I hope this adjustment creates a better working environment for you.