Create URL Links in the Terminal

Shellscript(Bash/Zsh)
2022-12-27 21:16 (1 years ago) ytyng

You can make applications like iTerm2 open a URL different from the link text by Command + clicking, similar to the HTML <a> tag.

Hyperlinks in Terminal Emulators

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

Image

Currently unrated

Comments

Archive

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011