ChesterYue/ohmyzsh-theme-passion

error:current_time_millis:7: command not found: gdate

MrBaiYinL opened this issue · 8 comments

This error prompt is displayed when executing the command:

current_time_millis:7: command not found: gdate
image

@ChesterYue mac Pro M1

解决了吗?

brew install coreutils

Hello, how are you doing?

Sorry to repost on a closed thread but I started to face this error too all of a sudden. I tried all the steps indicated but I'm still facing it. Is there any chances someone could help?

Screenshot 2024-04-29 at 09 37 38

Hello, how are you doing?

Sorry to repost on a closed thread but I started to face this error too all of a sudden. I tried all the steps indicated but I'm still facing it. Is there any chances someone could help?

Screenshot 2024-04-29 at 09 37 38

I face the same problem

After installing coreutils with command:
brew install coreutils

The PATH variable is updated in .zshrc, however it is at the bottom of the file. Move the following line from .zshrc:
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";

to a line before the
ZSH_THEME="passion"

That fixed it for me. Hope it helps.