summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)