/Users/atael/lib/oci_autocomplete.sh:12: command not found: complete
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
When adding autocomplete to my .zprofile file:
[[ -e "/Users/atael/lib/oci_autocomplete.sh" ]] && source "/Users/atael/lib/oci_autocomplete.sh"
I get the following error when opening a new terminal window:
/Users/atael/lib/oci_autocomplete.sh:12: command not found: complete
I'm on MacOS 12.4 where zsh is the default shell.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting /Users/atael/lib/oci_autocomplete.sh at line 12 and the zsh configuration shown in the report. Reproduce the problem by opening a new zsh terminal, then verify that the autocomplete setup loads without a command-not-found error and that completion works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100