napa182 commented on a Page, /run script for youtube and wiki and google  -  Feb 14, 2009

for one you need to change $2- into $1- also no need to set a var

i would do this instead

alias google { if ($1) { url $+(http://www.google.com/custom?q=,$1-) } }
alias youtube { if ($1) { url $+(http://uk.youtube.com/results?search_type=&search_query=,$1-) } }
alias wiki { if ($1) { url $+(http://en.wikipedia.org/wiki/special:search?search=,$1-) } }
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.