Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: correct time cmd duration in right prompt #12

Merged
merged 1 commit into from
Apr 1, 2020
Merged

Bugfix: correct time cmd duration in right prompt #12

merged 1 commit into from
Apr 1, 2020

Conversation

SergeyNosov
Copy link
Contributor

Bugfix for issue cmd_duration prints a warning on each command on OSX #11
I added -s0 parameter after math command in _convertsecs function.
It cuts float number to an integer before passing a value to printf "%02d" function.

@LeeroyDing
Copy link

Why is this not merged yet?

@netologist netologist merged commit 602d0a2 into netologist:master Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants