diff --git a/Examples.md b/Examples.md index c1e3d6e..9333164 100644 --- a/Examples.md +++ b/Examples.md @@ -530,10 +530,13 @@ To search for windows and show which is currently active, add [ftwind](https://g # using "brew search" as source input # mnemonic [B]rew [I]nstall [P]lugin bip() { - local inst=$(brew search | fzf) + local inst=$(brew search | fzf -m) if [[ $inst ]]; then - brew install $inst + for prog in $(echo $inst); + do; + brew install $prog + done; fi } ``` @@ -542,10 +545,13 @@ bip() { # Update (one or multiple) selected application(s) # mnemonic [B]rew [U]pdate [P]lugin bup() { - local upd=$(brew leaves | fzf) + local upd=$(brew leaves | fzf -m) if [[ $upd ]]; then - brew upgrade $upd + for prog in $(echo $upd); + do; + brew upgrade $prog + done; fi } ``` @@ -554,10 +560,13 @@ bup() { # Delete (one or multiple) selected application(s) # mnemonic [B]rew [C]lean [P]lugin (e.g. uninstall) bcp() { - local uninst=$(brew leaves | fzf) + local uninst=$(brew leaves | fzf -m) if [[ $uninst ]]; then - brew uninstall $uninst + for prog in $(echo $uninst); + do; + brew uninstall $prog + done; fi } ```