Skip to content

Suggestion: Use Brewfile instead of brew.sh #3

@ermengchao

Description

@ermengchao

According to the Homebrew Documentation, using a Brewfile is the official and recommended way to manage your packages more easily. In addition, a Brewfile can also manage your mas packages and Visual Studio Code extensions.

By the way, I’ve recently been working on managing my Zsh configuration. According to man zsh, it is recommended to place all personal environment variables, including $PATH, in ~/.zshenv rather than in ~/.zshrc or ~/.zprofile. However, ~/.zshenv is always the first file loaded, and when the system’s /etc/zprofile is subsequently sourced, it overwrites some of my $PATH settings defined in ~/.zshenv. I’m not sure what to do next. I prefer to follow official recommendations, but I also don’t want to modify system defaults, since doing so would require sudo permissions and complicate future system migrations. Would love to know what you think!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions