Describe the feature you'd like
Add a option for choosing different sorting method for result.
I'm working on a multiple large projects environments and each project has similar tools or pathes. When I use cd foo in a directory that doesn't have foo, the result would be sorted by the frequency and time. However, for example, if there were two different version tools like project_a/has/foo and project_b/has/foo, and I was working in project_a/, it would be more reasonable in most of time that the cd foo result shows the subdirectories with matched names in a higher rank, which means in this case project_a/has/foo could have higher rank than project_b/has/foo.
Describe alternatives you've considered
I have know idea how to sort the result without modify enhancd source codes
If we could have at least three categories for directories such as exact matched names, frequency, and the directory names under the same path that have been visited. it would significantly reduce the time for filtering and selecting options.
Additional context
I suggest the ranking could be like this:
exact names in subdir that have been visited and was just visited with higher freq
exact names in subdir that have been visited with higher freq
exact names was just visited with higher freq
exact names with higher freq
fuzzy matched names with higher freq
If it could be implemented, it's a really perfect feature for enhancd.
Describe the feature you'd like Add a option for choosing different sorting method for result.
I'm working on a multiple large projects environments and each project has similar tools or pathes. When I use
cd foo
in a directory that doesn't havefoo
, the result would be sorted by the frequency and time. However, for example, if there were two different version tools likeproject_a/has/foo
andproject_b/has/foo
, and I was working inproject_a/
, it would be more reasonable in most of time that thecd foo
result shows the subdirectories with matched names in a higher rank, which means in this caseproject_a/has/foo
could have higher rank thanproject_b/has/foo
.Describe alternatives you've considered I have know idea how to sort the result without modify enhancd source codes
If we could have at least three categories for directories such as exact matched names, frequency, and the directory names under the same path that have been visited. it would significantly reduce the time for filtering and selecting options.
Additional context I suggest the ranking could be like this:
If it could be implemented, it's a really perfect feature for
enhancd
.