Use FileInfo#show for the hyperlink text

Fixes #513
This commit is contained in:
Claudio Bley 2022-04-13 21:08:47 +02:00
parent cadb9b9558
commit b8589c30fe

View file

@ -428,7 +428,7 @@ module ColorLS
def make_link(content)
uri = Addressable::URI.convert_path(File.absolute_path(content.path))
"\033]8;;#{uri}\007#{content.name}\033]8;;\007"
"\033]8;;#{uri}\007#{content.show}\033]8;;\007"
end
end
end