wip: started working on planning

This commit is contained in:
Marc Cornellà 2026-03-26 19:37:04 +01:00
commit 2138e2662b
3 changed files with 555 additions and 0 deletions

View file

@ -39,6 +39,7 @@ function current_epoch() {
echo $(( EPOCHSECONDS / 60 / 60 / 24 ))
}
# TODO: change this to support stable releases
function is_update_available() {
local branch
branch=${"$(builtin cd -q "$ZSH"; git config --local oh-my-zsh.branch)":-master}
@ -211,6 +212,8 @@ function handle_update() {
return
fi
# TODO: somewhere like here we should support fast-tracking of security patches
# Check if there are updates available before proceeding
if ! is_update_available; then
update_last_updated_file