Sometimes you want to be able to open a GitHub PR URL in your default browser in macOS with just the number of the PR. This can be accomplished with the following function in zsh, which can be added to your .zshrc: Some caveats to using this code: This assumes that you’re in a local…