mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
11 lines
232 B
Text
Executable file
11 lines
232 B
Text
Executable file
### BREW + FZF
|
|
# mnemonic [B]rew [I]nstall [P]lugin
|
|
|
|
local uninst=$(brew leaves | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[brew:clean]'")
|
|
|
|
if [[ $uninst ]]; then
|
|
for prog in $(echo $uninst)
|
|
do brew uninstall $prog
|
|
done
|
|
fi
|
|
|