diff --git a/fish/functions/fbrew.fish b/fish/functions/fbrew.fish index 5cb0908..0437ea1 100644 --- a/fish/functions/fbrew.fish +++ b/fish/functions/fbrew.fish @@ -9,8 +9,8 @@ function fbrew --description "Fuzzy homebrew" end if test (count $inst_pkgs) -gt 0 - commandline -r "brew install $inst_pkgs" - commandline -f execute + echo "Installing: $inst_pkgs" + brew install $inst_pkgs end functions --erase _fbrew_install @@ -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 python@3.8 python@3.9 + set --local locked_pkgs node python python@3.8 python@3.9 python@3.10 if test (count $uninst_pkgs) -eq 0 set uninst_pkgs (brew leaves | eval "fzf --multi --prompt='[brew:uninstall] '") @@ -91,8 +91,8 @@ function fbrew --description "Fuzzy homebrew" end if test (count $uninst_pkgs_final) -gt 0 - commandline -r "brew uninstall $uninst_pkgs_final" - commandline -f execute + echo "Uninstalling: $uninst_pkgs_final" + #brew uninstall $uninst_pkgs_final end end