Hacker News new | ask | show | jobs
by imsofuture 4805 days ago
This is cutesy, but having a timestamp on your prompt is an easy-to-implement sometimes-lifesaver. Highly recommended, one way or another :)
3 comments

>one way or another

Speaking of another:

    export PS1="\t $"
For a lot more information on bash prompts, I'd recommend http://blog.sanctum.geek.nz/bash-prompts/
Out of curiosity, could you describe a scenario where you'd consider time-stamping like that to be a lifesaver?
I'd love this for its compact nature, but I like digital for its precision. A title tag would be great!

   <prompt title="12:03:33">(clockface)</prompt>