Comments (3)
Oh very interesting! Sorry for not looking at it for 3 years - it somehow slipped out of my attention.
from zlocation.
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 toC:\temp\7
now, as it'd be treated as a direct reference to the child directory7
. -
If the expected result is to end up
C:\temp\7\test
, then that's because the last step ofTest-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.
@theaquamarine feel free to close, this seems to be super old anyway
from zlocation.
Related Issues (20)
- It would be great to see a list of most recent HOT 2
- [Feature Request] Allow installation via Chocolatey
- Set-ZLocation and Update-ZLocation break for PS 7 if the user has defined an alias for 'find' HOT 1
- How to exclude a directory from tracking? HOT 1
- Exception calling "Add" with "2" argument(s) - issue after updating powershell to 7.1 HOT 2
- [Feature Request] z partial/path/to/dir? HOT 1
- Doesn't work with posh-git's error reporting (DollarQuestion) HOT 3
- how can I unsinstall it?thanks. HOT 1
- Database has duplicate entries differing in case only
- Cannot z to network drives HOT 1
- Invoke-ZLocation doesn't work with oh-my-posh + posh-git + ZLocation HOT 2
- Question: possible to prefer child directories? HOT 1
- [Feature request] only display directories with tab completion HOT 5
- Duplicate Unc Paths in Database Where Only One Is Updated
- ZLocation not working as intended. HOT 6
- profile file flood
- Can't jump a folder with `[` or `]` in it
- Get-FrequentFolders in ssh session is very slow HOT 3
- Unable to uninstall Zlocation HOT 1
- Path resolution is not picking the best option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zlocation.