-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
Milestone
Description
- Linux @joaomoreno
- macOS @kieferrm
- Windows @alexandrudima
Complexity: 3
Terminals now add links for URLs and text that looks like a local path. Clicking URLs will open the default browser, clicking files will open the file in an editor. Note that folders will also be links but they will just not do anything, this behavior is expected.
Here are the specific text forms that will be "linkified":
- URLs qualified with
http://
orhttps://
- On Linux/macOS paths in the forms:
./x
,../x
,~/x
,/x
- On Windows paths in the forms:
.\x
,..\x
,~\x
(~
points at%HOMEDRIVE%\%HOMEPATH%
),y:\x
. Windows links also allow mixed slashes, so.\x\y
,./x\y
,./x/y
are all valid