[zshrc] Add youtube audio search from clipboard

This commit is contained in:
lhark 2018-07-10 15:33:50 -04:00
parent bc9b072817
commit 7f2abdcdad

View file

@ -86,7 +86,7 @@ man() {
# Youtube audio search
ymsearch() {
mpv --ytdl-format=bestaudio ytdl://ytsearch:"$@"
mpv --ytdl-format=bestaudio ytdl://ytsearch:"$(xsel -ob)"
}
# vim: ft=zsh