zsh: Remove audacious-hack

Removed in favour of mpd/ncmpcpp
This commit is contained in:
Simon Bruder 2020-09-01 12:33:25 +02:00
parent f33bafecc8
commit 29612fd156
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -188,13 +188,3 @@ function mullvad() (
sudo wg-quick up mullvad-$1
fi
)
# Audacious does not support symlinks; hack around that
function audacious-hack() (
audtool playlist-clear
IFS=$'\n'
for dir in $@; do
command ls -1 $dir/**/*.(flac|m4a|mp3|ogg|opus)(@)
done|sort -Vd|tr '\n' '\0'|xargs -0 -- audacious --enqueue
audacious --play
)