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