summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-18 09:05:33 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-18 09:05:33 +0100
commit0cea37f52a3b6543e965ce1a9cbf1f9dbc58c883 (patch)
tree757d6785da886af7141715d3d3e0bc57b3fa9de8
parent77b5b13a4d0cba98f3a8cbd0059417330ae8231c (diff)
added func for mpv
-rw-r--r--bashrc5
1 files changed, 5 insertions, 0 deletions
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)