Article 4QJSM [Request] .bashrc profile search youtube user input in URL, remove space HELP

[Request] .bashrc profile search youtube user input in URL, remove space HELP

by
finalturismo
from LinuxQuestions.org on (#4QJSM)
.bashrc example help

alias youtube="chromium https://www.youtube.com/results?search_query=$@"

Can anyone help me with this

it is adding a space in the url and causing chromium to open another tab

from my understanding $@ is supposed to insert user input from terminal at the @ symbol, problem is, it is adding a space before the @.latest?d=yIl2AUoC8zA latest?i=qjxmdcS8I3A:1HpCJb6RNow:F7zBnMy latest?i=qjxmdcS8I3A:1HpCJb6RNow:V_sGLiP latest?d=qj6IDK7rITs latest?i=qjxmdcS8I3A:1HpCJb6RNow:gIN9vFwqjxmdcS8I3A
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments