I'm running a Mac and use iTerm with ZSH as my shell.

Currently I can command-click (⌘+click) on links or directories in my iTerm window, and that directory or web link will open.

Is there a way (plugin, config tweak, etc) to make it so I can do a git log, and then command-click on a git commit ID, and be taken directly to that commit on Github? This would make my life much easier. :)


Sadly, no(t practically). There's no way to know if a given hash is even a Git commit ID, and if it is, whether it's on GitHub, a local git repo, or any of the hozillion other git repository hosting sites out there.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.