dotfiles/homebrew/.config/fish/functions/bdp.fish.symlink
2024-02-10 19:38:09 -08:00

11 lines
242 B
Fish

#!/usr/bin/env fish
function bdp -d "Delete one or more selected Homebrew packages"
set -f uninst (brew leaves | fzf -m)
if test -n "$uninst"
for pkg in (echo $uninst)
brew uninstall $pkg
end
end
end