ag: Fast searching source code

From the “I’m shit at command line” category

  1. brew install ag
  2. Ignore files that are autogenerated. Also honours .gitignore! cat 'android.bundle.js' > .ignore
  3. ag MY_SEARCH_TERM
  4. Profit!
some-app/some-node-file.js
5:    username: 'MY_SEARCH_TERM',

Nice, fast, clickable results in vscode.