dotfiles/fish.configlink/functions/brewsearch.fish

10 lines
267 B
Fish
Raw Normal View History

function brewsearch --description "Install brew plugins"
2021-04-10 23:31:52 +00:00
set -l inst (brew formulae | eval "fzf $FZF_DEFAULT_OPTS -m --header='[brew:install]'")
if not test (count $inst) = 0
for prog in $inst
brew install "$prog"
end
end
end