update brew fzf function

This commit is contained in:
David Chen 2021-05-31 23:25:45 +08:00
parent 9127d00b18
commit 5b88c16db9

View file

@ -2,7 +2,7 @@
# 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]'")
local inst=$(brew search "" | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[brew:install]'")
if [[ $inst ]]; then
for prog in $(echo $inst)