Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ansi code for hyperlinks #2078

Open
SamHasler opened this issue Feb 28, 2020 · 5 comments
Open

Support ansi code for hyperlinks #2078

SamHasler opened this issue Feb 28, 2020 · 5 comments

Comments

@SamHasler
Copy link

Could you support the ANSI code for hyperlinks described here:

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

e.g.:

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'
@xdhmoore
Copy link

Love this feature. I use this on iTerm to make things in my git log output into links such as Jira issues, commit hashes, and Jenkins build numbers.

@egmontkob
Copy link

to make things in my git log output into links

Just wondering: Does git provide some support to hyperlinkifying the text, or is this entirely a custom postprocessor filter that you wrote?

@xdhmoore
Copy link

@egmontkob No just a very imperfect combination of --pretty and a postprocessing filter in bash. You can set the hyperlink in the --pretty format string for things git knows about like commit hashes or use sed after-the-fact for things like Jira tickets.

@XilefNori
Copy link

Would be nice ^)

@Destroy666x
Copy link

Yes please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants