Re:Don't Copy-Paste from Website to Terminal
by cschramm on Monday April 08, 2013 @02:40AM
(#5510287)
Yeah, copying GitHub URLs sucks. You cannot actually select it with your mouse, since some creepy JavaScript interferes and selects it for you. the result is that it's selected, but not copied to PRIMARY, as you'd expect. I fall into this trap every single time.
[ Parent
| on HN ]
Being pissed off as I always fall into the trap, last week I wrote a userscript that adds a 'clone' button to gh webs.
Combined with xdg-open, I clone the repos locally just clicking the 'Clone' link.
http://i.imgur.com/AiTFm2R.png
Userscript itself in: https://github.com/kidd/org-protocol-github-lines/blob/clone...