My fish config

This commit is contained in:
2024-09-18 21:32:11 -03:00
commit 755ddf5f2f
107 changed files with 1808 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
function clean-music
for mood in $(find ~/Músicas -name "*.mood")
set path (dirname "$mood")
set file (basename (string split -m1 -r '.' "$mood") | cut -c2-)
if test -z (find "$path" -name "$(bash -c "printf \"%q\" \"$file\"").*" -print -quit)
rm -v "$mood"
end
end
find ~/Músicas -type d -empty -print -delete
end