added functions

This commit is contained in:
Léana 江 2022-12-19 11:20:49 +01:00
parent b74b06b2c4
commit 1e737ec2cb
7 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/opt/homebrew/bin/fish
function brew_update
echo ===== (date) =====
/opt/homebrew/bin/brew update
/opt/homebrew/bin/brew upgrade
/opt/homebrew/bin/brew autoremove
/opt/homebrew/bin/brew cleanup
end