Pasting multiple lines into terminal

I’m switching from Fedora to OST (Gnome), and I’m loving it!

One thing that I like with Fedora is that you can paste multiple lines of code into the terminal, and it will run each one. e.g.

echo “Hello”
echo “World”

OST automatically runs the first line after paste and then stops.

I asked Gemini to compare the .inputrc files and it tells that OST uses VI and Fedora uses Emacs. It recommends that I add the following to .inputrc -

set editing-mode emacs
set enable-bracketed-paste on

Is this correct or is there a better solution?

@charlie-uk Hi, I’m using bash here I do have set enable-bracketed-paste on as well, it works fine for me?


1 Like

Thank you again @malcolmlewis.

You’re just using -
“set enable-bracketed-paste on”

Excellent, that worked perfectly.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.