dotfiles/bin/update
2019-11-17 19:10:40 -05:00

15 lines
271 B
Bash
Executable file

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