Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agoWhen you have to update the serverpawb.socialimagemessage-square60fedilinkarrow-up1434
arrow-up1434imageWhen you have to update the serverpawb.socialTibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square60fedilink
minus-squareurda@lebowski.sociallinkfedilinkEnglisharrow-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; }
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; }