eza --hyperlink /usr/local/bin/eza
outputs this:
Notice how only the file name (eza) is part of the OSC 8 hyperlink. The rest of the path (/usr/local/bin/) is not part of the hyperlink.
eza 0.23.4 [+git]
fish 4.5.0
Ghostty 1.3.0
macOS Sequoia 15.7.4 (Intel)