DOTS
This commit is contained in:
15
bin/update
Executable file
15
bin/update
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user