Skip to content

Instantly share code, notes, and snippets.

@henry0312
Last active August 29, 2015 14:03
Show Gist options
  • Save henry0312/c9484a3624512e732f69 to your computer and use it in GitHub Desktop.
Save henry0312/c9484a3624512e732f69 to your computer and use it in GitHub Desktop.
mpv-open
mpv-open() {
mpv $@ "$(find . -type f \( -name "*.ts" -o -name "*.mp4" -o -name "*.mov" -o name "*.mkv" \) | peco)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment