brew bundle dump not respecting --brews/--casks args
zhengpd opened this issue · comments
Zheng PiaoDan commented
Is there any argument to brew bundle dump
with only brews and casks? --brews/--casks
only works in brew bundle list
but not dumping.
Jacob Bednarz commented
not as of today. brew bundle dump
will dump all resources without consideration for the type they are.
Zheng PiaoDan commented
@jacobbednarz Thanks for reply. I ended up using alias:
alias brew-dump="brew bundle dump -f --file=- | sed '/mas .*/d' > ~/.config/homebrew/Brewfile"