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

execution time segment(macOS) #231

Closed
2 tasks done
lnu opened this issue Dec 12, 2020 · 2 comments
Closed
2 tasks done

execution time segment(macOS) #231

lnu opened this issue Dec 12, 2020 · 2 comments

Comments

@lnu
Copy link
Contributor

lnu commented Dec 12, 2020

Prerequisites

  • I have read and understand the CONTRIBUTING guide
  • I looked for duplicate issues before submitting this one

Description

omp_preexec:1: bad math expression: operator expected at `N/1000000'

Environment

  • Oh my Posh version: latest
  • Theme: jandedobbeleer
  • Operating System: macOS
  • Shell: zsh
  • Terminal: term

Steps to Reproduce

Configure zsh following the doc

@lnu
Copy link
Contributor Author

lnu commented Dec 12, 2020

date in macOS does not support N
https://apple.stackexchange.com/questions/135742/time-in-milliseconds-since-epoch-in-the-terminal

The gdate alternative works but it adds a dependency on coreutils

@JanDeDobbeleer
Copy link
Owner

let me see what we can do 👍🏻

JanDeDobbeleer added a commit that referenced this issue Dec 12, 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

No branches or pull requests

2 participants