More scripts

This commit is contained in:
Dustin Swan 2019-11-18 10:13:03 -05:00
parent 411a3ad9de
commit 9a2c4328d5
No known key found for this signature in database
GPG key ID: AB49BD6B2B3A6377
3 changed files with 18 additions and 2 deletions

9
bin/clean Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
if command -v brew &> /dev/null; then
brew cleanup
fi
if command -v nix &> /dev/null; then
nix-collect-garbage -d
fi