superatomic / homebrew-bundle-extensions

🗄 Command extensions for Homebrew that allow for easy modification of brew bundles.
https://gh.superatomic.dev/homebrew-bundle-extensions
BSD 2-Clause "Simplified" License
14 stars 2 forks source link

Allow for configuring `brew add` to use single quotes with instead of double quotes #11

Closed superatomic closed 2 years ago

superatomic commented 2 years ago

This PR implements the ability for brew add to use single quotes instead of double quotes for Brewfile lines (e.g. brew 'bat' instead of brew "bat").

This feature can be enabled by setting the environment variable HOMEBREW_BUNDLE_QUOTE_TYPE to the value single. If HOMEBREW_BUNDLE_QUOTE_TYPE is set to any other value or is not set, brew add will default back to using double quotes.