]> Sergey Matveev's repositories - dotfiles.git/blob - mpv/bin/mp
Perl->zsh, anyway I use it
[dotfiles.git] / mpv / bin / mp
1 #!/usr/bin/env zsh
2
3 args=()
4 for arg ($@) {
5     [[ $arg =~ "^[A-Z][A-Z]$" ]] && arg="--profile=$arg"
6     args=($args $arg)
7 }
8 exec mpv $args