github-gem
github-gem copied to clipboard
"gh open" without any args opens up the current repo page
Right now, gh open (no args) will lead us to the github top page. It is rather useless.
With this change, the same command will bring us to the origin's top page, when and only when you're in the repo's directory. If you're not in any repo, defaults to the previous behavior - go to https://github.com.
It is convenient when you have a prettified README.md as a quick reference for the project.