ls --hyperlink
With a compatible terminal you can then just click on results. Another nicety is making your shell prompt a link to the working directory.Haven’t seen a terminal that lets you drag the links but that sounds like a logical feature.
ls --hyperlink
With a compatible terminal you can then just click on results. Another nicety is making your shell prompt a link to the working directory.Haven’t seen a terminal that lets you drag the links but that sounds like a logical feature.
https://purpleidea.com/blog/2018/06/29/hyperlinks-in-gnome-t...
Here is a quick comparison if anyone needs: https://github.com/asdf8dfafjk/Terminal-Features/blob/main/F...
Wish some terminals would allow more "actions" on hyperlinks, maybe using right click, and even drag-drop
Ctrl-clicking opens the link, but is anything supposed to happen when I click on the link (in Gnome Terminal). I thought it might copy the link, but nope.
On further investigation, I have found one authority that works in xdg-open: localhost. Not the host name, not 127.0.0.1, not ::1 or [::1], not anything else present in /etc/hosts, just localhost. I’m baffled, but not quite invested enough to delve into the source to figure out what could be going on.