diff --git a/fish/functions/fbrew.fish b/fish/functions/fbrew.fish index 1587c8e..5cb0908 100644 --- a/fish/functions/fbrew.fish +++ b/fish/functions/fbrew.fish @@ -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] '")