From 0cea37f52a3b6543e965ce1a9cbf1f9dbc58c883 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 18 May 2022 09:05:33 +0100 Subject: added func for mpv --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index 4d76ca6..5f73b51 100644 --- a/bashrc +++ b/bashrc @@ -119,6 +119,11 @@ tjclip () { echo "$1: $(xclip -o -selection clipboard)." | _tj } +# mpv func +function yta() { + mpv --ytdl-format=bestaudio ytdl://ytsearch:"$*" + } + # GPG # added this for mutt (https://openports.se/mail/mutt) export GPG_TTY=$(tty); eval $(gpg-agent --daemon) -- cgit v1.2.3