mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Remove perl dependency
This commit is contained in:
parent
0dc83fe49f
commit
a7f5170d68
3 changed files with 14 additions and 8 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue