fish: make homebrew functions execute the commandline
This commit is contained in:
parent
0d0ee66483
commit
b097f96a9c
@ -10,6 +10,7 @@ function fbrew --description "Fuzzy homebrew"
|
|||||||
|
|
||||||
if test (count $inst_pkgs) -gt 0
|
if test (count $inst_pkgs) -gt 0
|
||||||
commandline -r "brew install $inst_pkgs"
|
commandline -r "brew install $inst_pkgs"
|
||||||
|
commandline -f execute
|
||||||
end
|
end
|
||||||
|
|
||||||
functions --erase _fbrew_install
|
functions --erase _fbrew_install
|
||||||
@ -91,6 +92,7 @@ function fbrew --description "Fuzzy homebrew"
|
|||||||
|
|
||||||
if test (count $uninst_pkgs_final) -gt 0
|
if test (count $uninst_pkgs_final) -gt 0
|
||||||
commandline -r "brew uninstall $uninst_pkgs_final"
|
commandline -r "brew uninstall $uninst_pkgs_final"
|
||||||
|
commandline -f execute
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user