potiuk commented on pull request #20066:
URL: https://github.com/apache/airflow/pull/20066#issuecomment-992782061


   > * 1. Breeze is installed in editable mode.
   > * [x]   2. Script is generated and added to zsh and got it working by 
running `source ~/.zshrc`
   > * [x]   3. Created a new command to breeze and it's working in 
autocomplete.
   >   As far as I have seen the generated scripts for bash/zsh/fish, it 
doesn't seem to vary if we add a new command in `breeze.py`. The content of the 
auto-generate activation scripts remains the same. Only if we change the 
command name from `Breeze2` to something different, then we may need to 
regenerate the activation scripts and update in bash/zsh/fish. Not sure about 
how powershell would work in this case.
   
   Cool. So I think you can scrap all the pre-commit work and simply get this 
working and documented with "generation". 
   
   BTW. This is a normal part of the process. It's perfectly OK to develop 
something and get it almost working only to find out that there is an 
easier/better way of solving the problem. But the learning is there, you found 
out why things are more difficult than you thought and usually the second time 
you start implementing it you will do it in 1/3 of the time, as you will start 
with the experience you learned :). Code is often liability not an asset and 
throwing it out is sometimes best you can do with it (eventually whole Bash 
Breeze will be thrown out this way!) 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to