function fcleanb -d "fzf git select branches to delete where the upstream has disappeared" set -l branches_to_delete ( git for-each-ref --sort=committerdate --format='%(refname:lstrip=2) %(upstream:track)' refs/heads/ | \ egrep '\[gone\]$' | grep -v "master" | \ awk '{print $1}' | $_FZF_BINARY --multi --exit-0 \ ) for branch in $branches_to_delete git branch -D "$branch" end end
https://github.com/jo-m/fluffy
(A party put them in front of the parliament to launch a campaign for universal basic income)