DOTS
This commit is contained in:
parent
b176c83374
commit
411a3ad9de
6 changed files with 20 additions and 20 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue