LoginSignup
7

More than 5 years have passed since last update.

Mac(OSX)でGoogle Cloud SDKをインストールしてzshで動かす

Last updated at Posted at 2014-08-21

とりあえずダウンロード

curl https://sdk.cloud.google.com | bash

途中でbashrcのpathとかを要求されますが、ここでzshrcのpathを渡してもうまく動きません

# The next line updates PATH for the Google Cloud SDK.
source '/<hogehoge>/google-cloud-sdk/path.bash.inc'

# The next line enables bash completion for gcloud.
source '/<hogehoge>/google-cloud-sdk/completion.bash.inc'
こんなのが追記されるのですがzshだとcommand not found: completeが出て動かないです。 上記はpathを設定しているだけなので手動でzshrcにpathを通したら動きます。



export PATH=/<hogehoge>/google-cloud-sdk/bin:$PATH </del>

現在(2015/06/20)は?(ただ当時間違っていただけなのか定かではありません…)
bashをzshに置き換えればzshでも動くようです。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7