chris-marsh / pureline

A Pure Bash Powerline PS1 Command Prompt
MIT License
501 stars 94 forks source link

Remove useless code in duration_segment #73

Closed CyrilOtheninGirard closed 2 years ago

CyrilOtheninGirard commented 2 years ago

In this line : Last_command=$? && timer_stop the expression Last_command=$? is always true, and the variable Last_command it is not used anywhere else.