From c054da7450ec92a56f0cd8b3e8466447a03b25da Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 8 Mar 2021 06:18:33 -0500 Subject: [PATCH] fix date --- libozsh.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libozsh.zsh b/libozsh.zsh index 3165882..e63b2c0 100644 --- a/libozsh.zsh +++ b/libozsh.zsh @@ -47,7 +47,7 @@ function ozsh_update { git -C $d pull --rebase done - echo $(date) > "$OZSH_LASTUPDATE_FILE" + echo $(date +%Y-%m-%d) > "$OZSH_LASTUPDATE_FILE" } function ozsh_autoupdate { @@ -81,4 +81,5 @@ function ozsh_init { ozsh_init # undefine functions -unset -f ozsh_init \ No newline at end of file +unset -f ozsh_init +unset -f ozsh_autoupdate \ No newline at end of file