[zshrc] Add youtube audio search from clipboard
This commit is contained in:
parent
bc9b072817
commit
7f2abdcdad
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ man() {
|
||||||
|
|
||||||
# Youtube audio search
|
# Youtube audio search
|
||||||
ymsearch() {
|
ymsearch() {
|
||||||
mpv --ytdl-format=bestaudio ytdl://ytsearch:"$@"
|
mpv --ytdl-format=bestaudio ytdl://ytsearch:"$(xsel -ob)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ft=zsh
|
# vim: ft=zsh
|
||||||
|
|
Loading…
Reference in a new issue