-
Notifications
You must be signed in to change notification settings - Fork 4
Completions no longer work for brew cask install
#4
Comments
Hi @lwolfsonkin. Thanks for the report and analysis. I'll look into this when I have some time. Let me know if you're willing to fix it yourself. |
I think this is blocked now, see Homebrew/brew#4254. |
@laughedelic @lwolfsonkin Considering that |
@peterlobster: I think theoretically it should, but when I tried to use it, it didn't work for me:
If it were working properly, there wouldn't be formulae there. Also for reference:
Does it work for you? |
@lwolfsonkin It does...
@laughedelic Maybe a short term solution would be just to disable the tab completion for |
@peterlobster: I would have to disagree with you here. My understanding of the current functionality of
and with the
So, |
UPDATE: Sorry, I think that I just looked at the documentation, and the documentation is confusing, but does what it says: In the search documentation, it claims that @laughedelic: I'm assuming this is in contrast to how you were parsing the output of |
@lwolfsonkin You are correct. @lwolfsonkin @laughedelic You second point in your post, is a excellent idea. The normal 'brew search `search completion function is working fine. Maybe just need to modify it a little bit. I'd offer to make the pull request to implement your idea but I really don't have time right now. I might be able to do it later (like maybe next week), if you guys don't have the time to make the changes. |
I skimmed through the code, and it seems that the change required is a really simple one-liner. Just swap in |
@lwolfsonkin I'm assuming you're referring to like 195. |
Hi guys, thanks for the discussion and the fix from @lwolfsonkin 👍 |
brew
was updated deprecatingbrew cask search
, causing annoying error message after every initiation of autocomplete, and the new output ofbrew search
has a separate section for normal formulae and casks.3 things should happen:
brew search
instead ofbrew cask search
brew install
we should probably update the output parsing ofbrew search
, though it seems to work fine currently.The text was updated successfully, but these errors were encountered: