• urda@lebowski.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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;
    }