News for hackers. Stuff that matters.
Re:How Bash Completion Works by SPBS on Sunday October 06, 2019 @10:28PM (#21176809)
Yeah homebrew does that remote lookup thing when I try to complete `brew install xx<TAB>`. Because of the delay, it's not a good way to discover packages at all especially if the package name has an unexpected prefix that causes bash completion to fail. Much better to just `brew search xx` then browse the entire list of possible candidates than to rely on tab completion.
Re:How Bash Completion Works by pcr910303 on Monday October 07, 2019 @02:27AM (#21178028)
> Yeah homebrew does that remote lookup thing when I try to complete `brew install xx<TAB>`.

AFAIK Homebrew doesn't do remote lookup, you can try it out by turning off your Wi-Fi & autocompleting formula names still work.

> Because of the delay, it's not a good way to discover packages at all

The delay is due to ruby's slow speed, it looks like home-brew just searches the whole formula directory with ruby.