After installing the google cloud SDK using the curl https://sdk.cloud.google.com | bash I encountered an issue where gloud commands were still not being recognized. Therefore gcloud init wasn't working to initialize the SDK.
I tried deleting the "google-cloud-sdk" folder to do a new install, but my terminal is now printing errors every time I open it. The errors are:
user/google-cloud-sdk/exec -l /bin/bash/google-cloud-sdk/path.bash.inc: No such file or directory
and
user/.bash_profile: line 7: syntax error near unexpected token `fi'
-bash: /User/.bash_profile: line 7: `fi
Something is is obviously lingering from the previous install but since the gcloud command is still not recognized I can't use any glcoud commands to uninstall.
Let me know if there is any helpful information I am missing.