How can I configure my .bash_profile
to add a blank line after any command output?
Macos – Mac OS Lion Terminal: Add blank line after command output
.bash-profilemacosterminal.app
.bash-profilemacosterminal.app
How can I configure my .bash_profile
to add a blank line after any command output?
Best Answer
You want to adjust the shell prompt; the default shell is bash, and it will happily inject a newline into the prompt by embedding
\n
in the appropriate variables. (PS1 by default.)More details at http://www.ibm.com/developerworks/linux/library/l-tip-prompt/ or in the manual page - though that is a much more pleasant reference.