Skip to content

Instantly share code, notes, and snippets.

@razzius
Created September 26, 2019 18:28
Show Gist options
  • Save razzius/81bdccf8e2228d943296fe54d076a8dd to your computer and use it in GitHub Desktop.
Save razzius/81bdccf8e2228d943296fe54d076a8dd to your computer and use it in GitHub Desktop.
function album --argument the_album
set script (echo "\
for f in \"$the_album\"*.{flac,mp3,m4a};
afplay \"\$f\";
end
")
begin
fish -c "$script"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment