#!/bin/sh

if command -v brew &> /dev/null; then
  brew cleanup
fi

if command -v nix &> /dev/null; then
  nix-collect-garbage -d
fi