fix: zsh completions for old cask names#20180
fix: zsh completions for old cask names#20180tiluckdave wants to merge 1 commit intoHomebrew:mainfrom
Conversation
|
Thanks for the PR @tiluckdave! @Homebrew/maintainers interested in thoughts on this. I'd rather we didn't write another file here but I don't think it makes for |
|
If such a feature is to be added, it should be done for bash/fish/zsh and for both formulae and casks. Also, instead of generating a new file with cask's current and old names mixed together, why not implement something similar to how |
|
I can update this for formulae as well as on bash/zsh/fish. But first, let me explore whether we can autocomplete to a new name. If I find something, I will share my approach here. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew stylewith your changes locally?brew typecheckwith your changes locally?brew testswith your changes locally?Fixes #20056
Made a new file in the
cache_dircontaining old cask names as well, so as not to disturb thebrew caskscommand. Updated the completions logic to take it from the new file if it exists, or else defaults tobrew casks.