bash prompts

Michael V. De Palatis mvd at gatech.edu
Fri Jan 19 02:12:13 UTC 2007


Hi all,

I've decided that I should increase the readability of bash since I
spend so much time on it. At this point, I have set the prompt like
so:

user at host:/current/working/directory
[nn]$ 

where "nn" is the current command number (unnecessary, but can
occasionally be useful). Additionally, there is an extra newline
between the last command output and the "user at ...". What I want to
add, however, is yet another newline between my command and the
command's output, e.g.,

user at host:/current/working/directory
[nn]$ run_some_command

First line of output
Second line of output

I have so far not been able to find out how to do this. Any ideas?

Thanks,

-- 
Michael V. De Palatis
Georgia Institute of Technology
School of Physics
837 State Street
Atlanta, GA 30332-0430

em vee dee at gatech dot ee dee yoo
http://mike.depalatis.net





More information about the ubuntu-users mailing list