mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
Remove perl dependency
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
zmodload zsh/datetime
|
||||
|
||||
__timer_current_time() {
|
||||
perl -MTime::HiRes=time -e'print time'
|
||||
zmodload zsh/datetime
|
||||
echo $EPOCHREALTIME
|
||||
}
|
||||
|
||||
__timer_format_duration() {
|
||||
|
||||
Reference in New Issue
Block a user