chris-marsh / pureline

A Pure Bash Powerline PS1 Command Prompt
MIT License
507 stars 95 forks source link

Add timespent_module #45

Closed NeoKanashibari closed 4 years ago

NeoKanashibari commented 4 years ago

Add module to display the time of the last executed command

chris-marsh commented 3 years ago

Sorry I didn't get back to you last year! I see you have closed the PR. This is something I am interested to add. running your code seems to return the time since the last command prompt rather than the time of the actual last command running. I'll look into it some and see whats going on. Many thanks for the input,

chris-marsh commented 3 years ago

Got it working and included within the 'segments' branch. Nice work with the time output.