New answers tagged


This solution slightly combines the solution from the question with a small perl snippet: The following code in .bashrc defines two new functions, inject and clear_newline. The latter is then called every time a prompt has to be printed. The former is called from within the latter (see inline commands for the details): # injects the arguments into the ...

Top 50 recent answers are included