diff --git a/fish/functions/fbrew.fish b/fish/functions/fbrew.fish index bccb9b4..2679583 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 - echo "Installing: $inst_pkgs" - brew install $inst_pkgs + commandline -r "brew install $inst_pkgs" + commandline -f execute end functions --erase _fbrew_install @@ -91,8 +91,8 @@ function fbrew --description "Fuzzy homebrew" end if test (count $uninst_pkgs_final) -gt 0 - echo "Uninstalling: $uninst_pkgs_final" - #brew uninstall $uninst_pkgs_final + commandline -r "brew uninstall $uninst_pkgs_final" + commandline -f execute end end