Y
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
wging
4805 days ago
>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/
link
sethhochberg
4805 days ago
Out of curiosity, could you describe a scenario where you'd consider time-stamping like that to be a lifesaver?
link
lessnonymous
4805 days ago
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>
link
Speaking of another:
For a lot more information on bash prompts, I'd recommend http://blog.sanctum.geek.nz/bash-prompts/