Created
March 5, 2013 04:26
-
-
Save luk-/5087992 to your computer and use it in GitHub Desktop.
view repo url and copy to clipboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function repourl () { npm view $1 repository.url | tee >(pbcopy) ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
quick repository url access:
$ repourl [module name]
copies repo url to clipboard but still displays it as stdout