brew/Library/Homebrew/cmd/formulae.sh
Mike McQuaid 7af68d0f8e
Fix shellcheck failures
A new version of `shellcheck` (I think?) brought us so new warnings and
errors.

To fix:
- pass `--source-path` so we don't need to stop `shellcheck` trying to
  read sourced files every time
- disable some more warnings/errors we don't care about fixing
2021-04-22 13:18:44 +01:00

11 lines
218 B
Bash

#: * `formulae`
#:
#: List all locally installable formulae including short names.
#:
source "$HOMEBREW_LIBRARY/Homebrew/items.sh"
homebrew-formulae() {
homebrew-items 'Casks' 's|/Formula/|/|' '^homebrew/core'
}