diff --git a/home/.zshrc.local b/home/.zshrc.local index 689ea48..8b48158 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -152,6 +152,14 @@ function urlencode() { python3 -c 'import urllib.parse; print(urllib.parse.quote(open(0, "rb").read()))' } +# Audacious does not support symlinks; hack around that +function audacious-hack() { + ( + IFS=$'\n' + audacious $(/bin/ls -1 $1/**/*(@)|sort -Vd) + ) +} + # Program aliases/env ## Aliases for programs