Skip to content

cmd_duration prints a warning on each command on OSX #11

Open
@Ludonope

Description

@Ludonope

The following line from the right prompt generates a warning on macOS High Sierra 10.13.6

printf ' < %s' (_convertsecs (math $cmd_duration / 1000))

Output:

╰─λ cd                                                       0 < 00: < 11:20:44
0.000017: value not completely converted
╭─ludonope at Ludonope-MacBook-Pro in ⌁
╭─ludonope at Ludonope-MacBook-Pro in ⌁erted                 0 < 00: < 11:20:55
╰─λ

If I comment that line I get the correct behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions