diff --git a/libozsh.zsh b/libozsh.zsh index edf1767..be33cb0 100644 --- a/libozsh.zsh +++ b/libozsh.zsh @@ -57,7 +57,7 @@ function ozsh_update { function ozsh_autoupdate { local timediff=$(( ( $(date +%s) - $(cat $OZSH_LASTUPDATE_FILE) ) / 86400 )) - if [ "$timediff" -ge "7" ]; then + if [ "$timediff" -ge "60" ]; then vared -p 'Would you like to update ozsh? [y/N]: ' -c answer if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then ozsh_update