$ $(tool) search $(pattern)
res1
res2
res3
# press arrow up, home, r= (`, end, `)
$ r = ( `$(tool) search $(pattern)`)
$ tool install r[1] r[3]