3 ms·
> EPOCHSECONDS relies on `zmodload zsh/datetime` Is there any advantage to using that module instead of invoking date +%s I use zsh but I don’t have any
by codetrotter 3y ago
> EPOCHSECONDS relies on `zmodload zsh/datetime`
Is there any advantage to using that module instead of invoking
date +%s
I use zsh but I don’t have any addons installed or anything. So for me it is less work to call date +%s instead
- bloopernova 3y agoYes, it doesn't fork a separate process. I doubt I could really tell the difference in prompt responsiveness, but I liked learning about the printf -v COMMA_EPOCH method.