Commit Graph

7 Commits (95b844570fc214cba726bb1bdbafb4bc3a27f4e4)

Author SHA1 Message Date
David Farrell 7c7e4f90ec
bug: Use en_US when fetching EPOCHREALTIME
Isolates fetching of EPOCHREALTIME to a function which sets LC_ALL=en_US.UTF-8.
This ensures that the value is in decimal format, regardless of runtime locale.

bug: Hide duration when no command executed
2022-10-30 15:18:09 -07:00
Noah Gorny d1b831a92d
Merge pull request #2119 from BarbUk/fix/command_duration_precision
Fix/command duration precision
2022-03-14 11:59:27 +02:00
BarbUk e1ddf6e311
Fix dynamic clock icon (#2120)
* Fix dynamic clock icon

* Use printf variable scope

* shfmt do not like spaces
2022-03-09 22:59:48 +02:00
BarbUk 634c1f8c18
Fix spacing in string output 2022-03-09 11:01:53 +01:00
BarbUk 4686ce1f12
Fix precision to use deciseconds instead of nanoseconds 2022-03-09 09:38:16 +01:00
John D Pell 1c2fc2837f lib/command_duration: adopt `_bash_it_library_finalize_hook` 2022-03-04 12:58:07 -08:00
John D Pell 4e0e59230b lib/command_duration: rename `theme/command_duration.theme`
Rename the `theme/command_duration.theme` file as it's not really got anything to do with theming or SCM.
2022-03-04 12:58:07 -08:00