fish: homebrew search renamed to formulae

This commit is contained in:
Charles Gould 2021-01-16 00:58:30 -05:00
parent ec3143c51a
commit 7ef633fa24

View File

@ -5,7 +5,7 @@ function fbrew --description "Fuzzy homebrew"
set --local inst_pkgs $argv
if test (count $inst_pkgs) -eq 0
set inst_pkgs (brew search | eval "fzf --multi --prompt='[brew:install] '")
set inst_pkgs (brew formulae | eval "fzf --multi --prompt='[brew:install] '")
end
if test (count $inst_pkgs) -gt 0
@ -21,7 +21,7 @@ function fbrew --description "Fuzzy homebrew"
set --local uninst_pkgs $argv
# Don't uninstall these packages
set --local locked_pkgs node python
set --local locked_pkgs node python python@3.8 python@3.9
if test (count $uninst_pkgs) -eq 0
set uninst_pkgs (brew leaves | eval "fzf --multi --prompt='[brew:uninstall] '")