minus-squareUrda@lebowski.socialtoProgrammer Humor@lemmy.ml•When you have to update the serverlinkfedilinkEnglisharrow-up1·1 year agoReal talk I’ve been using this I’ve mashed together: update_brew() { bold=$(tput bold); normal=$(tput sgr0); brew --version && echo "${bold} > brew update${normal}" && brew update && echo "${bold} > brew upgrade${normal}" && brew upgrade && echo "${bold} > brew autoremove${normal}" && brew autoremove && echo "${bold} > brew cleanup${normal}" && brew cleanup && echo "${bold} > brew doctor${normal}" && brew doctor; } linkfedilink
Real talk I’ve been using this I’ve mashed together:
update_brew() { bold=$(tput bold); normal=$(tput sgr0); brew --version && echo "${bold} > brew update${normal}" && brew update && echo "${bold} > brew upgrade${normal}" && brew upgrade && echo "${bold} > brew autoremove${normal}" && brew autoremove && echo "${bold} > brew cleanup${normal}" && brew cleanup && echo "${bold} > brew doctor${normal}" && brew doctor; }