From 7ef633fa247be75104a0d5fece0d0f2285a2a219 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Sat, 16 Jan 2021 00:58:30 -0500 Subject: [PATCH] fish: homebrew search renamed to formulae --- fish/functions/fbrew.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] '")