BIN: YT: multi word search patterns

If you run yt with multiple arguments, they are concatinated as the
search string
This commit is contained in:
Jonathan Hodgson 2021-06-30 10:55:29 +01:00
parent 3934158058
commit 70638ac508

View file

@ -100,7 +100,7 @@ chooseQuality(){
} }
main(){ main(){
local searchTerm="$1" local searchTerm="$*"
[ -z "$searchTerm" ] && searchTerm="$(getSearchTerm)" [ -z "$searchTerm" ] && searchTerm="$(getSearchTerm)"