Reputation: 5150
How can I wrap bash command output so that it is surrounded on top and bottom with a blank newline?
I have trouble picking out the current command's output from the previous command and the next prompt. I've tried PROMPT_COMMAND=echo
but this only adds a newline at the end and not the beginning. How can I have both so I can better parse my bash reality?
For example right now I see this:
rjurney$ ls ~/tmp/
total 312
-rw-r--r-- 1 rjurney staff 472 Mar 27 16:40 README.md
rjurney$
I want to see the following:
rjurney$ ls ~/tmp/
total 312
-rw-r--r-- 1 rjurney staff 472 Mar 27 16:40 README.md
rjurney$
Thanks!
Upvotes: 0
Views: 220