[zsh] add audacious-hack

legacy
Simon Bruder 2019-06-10 15:13:58 +00:00
parent fd8fa0a8c9
commit aa669fd6da
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 8 additions and 0 deletions

View File

@ -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