Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Make A Newline On A Command Prompt

Sometimes doing [TODO: Code shorthand span ] directly is a pain.

Another way to do it is to set a variable :

bash
NEWLINE=$'\n'

Then use it with something like :

bash
PROMPT_LINE="$(printf '─%.0s' {1..$(tput cols)})${NEWLINE}"