Giter Club home page Giter Club logo

Comments (3)

Langdi avatar Langdi commented on September 27, 2024 2

I am new to Rust and to eza, but the problems seems to lie in the path resolution. Files in the current directory, when passed as arguments (be it directly with eza file1 or with eza *PATTERN*) are not recognized as such. This lets this check

if let Some(abs_path) = self
fail and as a result does not add the markers for hyperlinks.

A workaround is explicitly specifying the current directory, i.e. eza --hyperlink ./*PATTERN* should work.

I'll look into this some more and see if I can come up with a patch. (Not sure if just prepending the path with ./ can lead to unexpected consequences.)

Update: This is a regression bug, introduced in 4799a49. Need to check #791 to get a better understanding what the new code is solving.

from eza.

cafkafk avatar cafkafk commented on September 27, 2024

Could you show exactly how you got this to happen, to make it easier to reproduce.

from eza.

tunalad avatar tunalad commented on September 27, 2024

Can do:
https://youtu.be/dkpsO5kdOhA
(github won't let me attach the video, it keeps telling me it's corrupted)

So first what I'm doing here is listing out all the files in the folder with hyperlink option, and it works as expected (that's not part of the bug). Then running the same command and looking for a pattern *Loop* won't make the results hyperlinked. Regardless of the pattern used, the results are not hyperlinked.

from eza.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.