gitty icon indicating copy to clipboard operation
gitty copied to clipboard

Optional Links

Open jolheiser opened this issue 2 years ago • 3 comments

Resolves #32

This PR looks for a non-empty environment variable called GITTY_LINKS to determine whether to print hyperlinks in the terminal.

gitty


gitty-all


One thing I noticed is the longer link for branch names (and probably things like numbers, but I think those might be less common unless a repo is on the edge of new index numbers) I could do some width-checking shenanigans, but I (personally) didn't think it would be worth the extra code checking.

jolheiser avatar Oct 26 '22 19:10 jolheiser

I think the workflow error is because I've updated some deps that may require go 1.17 because of build tag changes. I've update to 1.17 in this PR if that's okay with you.

jolheiser avatar Oct 28 '22 15:10 jolheiser

Looks like rivo/uniseg update would require Go 1.18, so I've updated accordingly.

jolheiser avatar Oct 28 '22 19:10 jolheiser

Looks like rivo/uniseg update would require Go 1.18, so I've updated accordingly.

You're right, already noticed that in other projects as well. Will try this out asap, thanks for the contribution!

muesli avatar Oct 29 '22 22:10 muesli