Update libozsh.zsh

This commit is contained in:
quackerd 2024-11-20 15:22:49 +00:00
parent 9a6c7c1270
commit 90520fe49c

View File

@ -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