Code Monkey home page Code Monkey logo

Comments (3)

vors avatar vors commented on August 23, 2024

Oh very interesting! Sorry for not looking at it for 3 years - it somehow slipped out of my attention.

from zlocation.

theaquamarine avatar theaquamarine commented on August 23, 2024

I'm not 100% on what the issue is here:

  • If the expected result of the top example is to end up in C:\temp\7, then I think ZLocation did the right thing: C:\temp\7 isn't a known location at that point (though its parent and child directories are), so ZLocation wouldn't jump to it. The ability to move to unknown directories added since this was opened means ZLocation would now move to C:\temp\7 now, as it'd be treated as a direct reference to the child directory 7.

  • If the expected result is to end up C:\temp\7\test, then that's because the last step of Test-FuzzyMatch requires the query (7) to be part of the leaf of the path (test). Whether that's right could be debated, but ZLocation's functioned that way at least as long as there's been a separate search module (812596d#diff-93df13f76ff52d17e115d75e3c549004R44-R45)

$search = ipmo .\ZLocation\ZLocation.Search.psm1 -PassThru
& $search { Test-Fuzzymatch 'C:\temp\7\test' 7 } #False
& $search { Test-Fuzzymatch 'C:\temp\foo\test' foo } #False

from zlocation.

vors avatar vors commented on August 23, 2024

@theaquamarine feel free to close, this seems to be super old anyway

from zlocation.

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.