All files within /opt/homebrew
are ignored or excluded by default when searching.
I often use bundle open <gem name>
to inspect the source of a Ruby gem. They are installed under /opt/homebrew/opt/ruby/...
. The filenames in the sidebar are muted and their content’s aren’t searched. I started experimenting and noticed that the files are searched once the folder is outside of the homebrew folder (just /opt
works).
I couldn’t find anything homebrew related in my settings, nor is /opt/homebrew
in my global .gitignore
.
What do I need to change, to have the files under /opt/homebrew
not ignored by default when searching file contents?