From 9fc712900e39b7f29beab755fc30c36548fce2ec Mon Sep 17 00:00:00 2001 From: neovrnaz <60867530+neovrnaz@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:14:24 -0700 Subject: [PATCH] Running `brew search` without any arguments gives Error: "Invalid usage: This command requires at least 1 text or regex argument." --- Examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples.md b/Examples.md index a9fe0c0..9c399a7 100644 --- a/Examples.md +++ b/Examples.md @@ -988,7 +988,7 @@ fzfimg.sh --preview-window right:80% # using "brew search" as source input # mnemonic [B]rew [I]nstall [P]lugin bip() { - local inst=$(brew search | fzf -m) + local inst=$(brew search “$@" | fzf -m) if [[ $inst ]]; then for prog in $(echo $inst);