How to remove gcloud fully?

大憨熊 提交于 2019-12-12 01:15:56

问题


I'm new on mac. I just remove gcloud folders. And now when I open my command line window I always see next: -bash: /Users/myuser/gcloud/google-cloud-sdk/completion.bash.inc: No such file or directory -bash: /Users/myuser/google-cloud-sdk/path.bash.inc: No such file or directory -bash: /Users/myuser/google-cloud-sdk/completion.bash.inc: No such file or directory

I know that made mistake removing not with gcloud command. But we have whad we have. So the main question is how to not get current logs when opening command line window on mac?


回答1:


The Cloud SDK makes only the following changes to the filesystem on installation:

  1. Adds and populates the Cloud SDK root directory, where you directed the installer.
  2. Configuration goes in the ~/.config/gcloud directory (by default).
  3. Modifies the RC files that you specified on installation (in response to the questions Modify profile to update your $PATH and enable shell command completion? (Y/n)? and Enter a path to an rc file to update, or leave blank to use [/Users/$USER/.bash_profile]:.

These paths are slightly different on different platforms, but the three types of files (installation files, per-user config, and .rc files) are the same.



来源:https://stackoverflow.com/questions/39854167/how-to-remove-gcloud-fully

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!