Sublime Forum

Can't find file contents in homebrew folder

#1

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?

0 Likes

#2

You can click the “Use Gitignore” button to the left of the “Where” field.

0 Likes

#3

Duh! So obvious in hindsight. Thanks a lot!

0 Likes