Skip to content

command not found: complete when using bash completion for breeze setup-autocomplete #18851

@Bowrna

Description

@Bowrna

Describe the issue with documentation

OS: MacOS Big Sur (M1 chip)
Shell used: zsh

I am trying to set up the airflow local development setup using Breeze as described in the video in the link https://github.com/apache/airflow/blob/main/BREEZE.rst

I forked and cloned the repo, checked the docker and docker-compose version, and have given the below command

./breeze setup-autocomplete

At the end of the above command, I got the result like below,


     Please exit and re-enter your shell or run:

     source ~/.bash_completion.d/breeze-complete```
    
I entered the below command in prompt to finish the process:
```$source ~/.bash_completion.d/breeze-complete```
 
and got the below response:
```/Users/sk/.bash_completion.d/breeze-complete:466: command not found: complete
 /Users/sk/.bash_completion.d/breeze-complete:467: command not found: complete

How to solve the problem

i have to execute:

source ~/.zshrc command first and then execute the command

source ~/.bash_completion.d/breeze-complete

we can either put instruction to execute both of the above command or add them as part of breeze.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions