Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

not compatible with zsh on Mac OS #350

Closed
ghost opened this issue Nov 10, 2020 · 2 comments
Closed

not compatible with zsh on Mac OS #350

ghost opened this issue Nov 10, 2020 · 2 comments
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@ghost
Copy link

ghost commented Nov 10, 2020

Mac OS Catalina is using zsh by default, not bash.
Setting:

[[ -e "/<...>/lib/oracle-cli/lib/python3.8/site-packages/oci_cli/bin/oci_autocomplete.sh" ]] && source "/<...>/lib/oracle-cli/lib/python3.8/site-packages/oci_cli/bin/oci_autocomplete.sh"

will raise:

/<...>/lib/oracle-cli/lib/python3.8/site-packages/oci_cli/bin/oci_autocomplete.sh:12: command not found: complete

@jhult
Copy link

jhult commented Feb 10, 2021

Not sure if this can or should be added into oci-cli but this solved the issue for me.

@vish1 vish1 added the SDK Issue pertains to the SDK itself and not specific to any service label Aug 19, 2021
@kernleee
Copy link
Contributor

I'll be closing this since this is not a cli specific issue and won't be introducing a specific fix for this. A possible cause for this issue is by curling the script install in a bash environment, users facing the issue should see the link above for a fix.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

3 participants