You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
271 B
Bash

#!/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