Skip to content

Instantly share code, notes, and snippets.

@avk
Created August 28, 2015 21:42
Show Gist options
  • Save avk/470329c7f7ee0795dbfd to your computer and use it in GitHub Desktop.
Save avk/470329c7f7ee0795dbfd to your computer and use it in GitHub Desktop.
opens the home page of the given (installed) gem
function gem_repo {
gem list -d $1 | grep "Homepage: " | sed s/Homepage:\ // | xargs open
}
@avk
Copy link
Author

avk commented Nov 30, 2015

Needs a revision. | xargs open currently opens too many gem repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment