diff --git a/init.zsh b/init.zsh index 0e2c001e..325ebe6d 100644 --- a/init.zsh +++ b/init.zsh @@ -97,7 +97,7 @@ if zstyle -t ':omz:updater:auto' update; then fi # Check for update every 7 days. - if [ "$omz_update"(Nmd+7) ]; then + if [ "$omz_update"(Nm+7) ]; then update-omz && touch "$omz_update" fi fi