3 ms·
Put a blank line at the beginning of your PS1 instead. This has the added benefit of clearly separating every command. My PS1 actually is this: rpatterson@rp
by CGamesPlay 15y ago
Put a blank line at the beginning of your PS1 instead. This has the added benefit of clearly separating every command. My PS1 actually is this:
rpatterson@rpatterson-tba 04/27/2012 01:24 PM ~
$
This gives me a full row to type a command, and lets me see how long ago the last command finished. Each of those components is bold and colored differently.
- prakashk 15y agoI do this too. It helps me to have a blank line between invocations of different commands. [prakash@kaveri 16:39:05 ~ :) ] >> sleep 10 ^C [prakash@kaveri 16:39:18 ~ :( ]
- mkopinsky 15y agoI assume the smilies drive off of $? ? Interesting idea....
- natep 15y agoSo...your interrupted 'sleep 10' took 13 seconds?
- CGamesPlay 15y agoNo, the time between when the first PS1 was printed and when he pressed ^C was approximately 13 seconds.
- natep 15y agoOf course, my bad.