Files
dotfiles/bin/update
2020-12-23 17:25:04 -05:00

20 lines
285 B
Bash
Executable File

#!/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
fi
if command -v doom &> /dev/null; then
doom sync
doom upgrade -y
doom env
fi