Skip to content

gcloud-cli cask automatically edits shell rc file #226676

@ellisonmarks

Description

@ellisonmarks

Verification

Description of issue

After 2cc77ab, the gcloud-cli cask edits the default shell rc file to source files which add a separate PATH entry and shell completions. This was somewhat surprising, as normally formulas, and even brew itself, output such changes as suggestions to the user after installation.

Additionally, it removes some binaries (docker-credential-gcloud, git-credential-gcloud) from the homebrew bin directory, while leaving others.

Taken together, on one hand, this causes duplicate entries in the path, and on the other, any tool that previously got by with only homebrew's bin directory now needs to be altered to account for this new path.

@maythazin5 as the author of that commit.

Command that failed

brew update --cask gcloud-cli

Output of command with --verbose --debug

N/A

Output of brew doctor and brew config

N/A

Output of brew tap

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions