#!/bin/sh
if command -v brew &> /dev/null; then
brew update
brew upgrade
brew upgrade --cask
fi
if command -v nix &> /dev/null; then
nix-channel --update
nix-env -u
home-manager switch
if command -v doom &> /dev/null; then
doom sync
doom upgrade -y
doom env