dotfiles/bin/clean

14 lines
188 B
Bash

#!/bin/sh
if command -v brew &> /dev/null; then
brew cleanup
fi
if command -v nix &> /dev/null; then
nix-collect-garbage -d
fi
if command -v doom &> /dev/null; then
doom purge
fi