|
25 | 25 | args: [
|
26 | 26 | "--quiet",
|
27 | 27 | "--usage-reporting", "false",
|
28 |
| - "--bash-completion", "false", |
29 |
| - "--path-update", "false", |
30 |
| - "--rc-path", "false", |
| 28 | + "--bash-completion", "true", |
| 29 | + "--path-update", "true", |
31 | 30 | "--install-python", "false",
|
32 | 31 | "--update-installed-components"
|
33 | 32 | ],
|
34 | 33 | }
|
35 | 34 | binary "google-cloud-sdk/bin/bq"
|
36 |
| - binary "google-cloud-sdk/bin/docker-credential-gcloud" |
37 | 35 | binary "google-cloud-sdk/bin/gcloud"
|
38 |
| - binary "google-cloud-sdk/bin/git-credential-gcloud.sh", target: "git-credential-gcloud" |
39 | 36 | binary "google-cloud-sdk/bin/gsutil"
|
40 | 37 | bash_completion "google-cloud-sdk/completion.bash.inc", target: "google-cloud-sdk"
|
41 | 38 | zsh_completion "google-cloud-sdk/completion.zsh.inc", target: "_google_cloud_sdk"
|
|
47 | 44 | end
|
48 | 45 |
|
49 | 46 | postflight do
|
50 |
| - # HACK: Allow existing shell profiles to work by linking the current version to the `latest` directory. |
| 47 | + # Allow existing shell profiles to work by linking the current version to the `latest` directory. |
51 | 48 | unless (latest_path = staged_path.dirname/"latest").directory?
|
52 | 49 | FileUtils.ln_s staged_path, latest_path, force: true
|
53 | 50 | end
|
|
0 commit comments