### BREW + FZF
# update multiple packages at once
# mnemonic [B]rew [U]pdate [P]lugin

local inst=$(brew search "" | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[brew:install]'")

if [[ $inst ]]; then
  for prog in $(echo $inst)
  do brew install $prog
  done
fi

