dotfiles/fish/functions/rmempty.fish

4 lines
72 B
Fish

function rmempty
find . -depth -empty -type d -exec rmdir '{}' \;
end