We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cdd
1 parent 8d8e3db commit 2d4030cCopy full SHA for 2d4030c
G33kShell.Desktop/Terminal/Commands/CddCommand.cs
@@ -58,6 +58,6 @@ protected override Task<bool> Run(ITerminalState state)
58
private static double GetScore(string path, string subPath)
59
{
60
var lastSegment = path.ToDir().Name;
61
- return string.IsNullOrEmpty(lastSegment) ? 0.0 : Fuzz.PartialRatio(lastSegment, subPath) / 100.0;
+ return string.IsNullOrEmpty(lastSegment) ? 0.0 : Fuzz.PartialRatio(lastSegment.ToLower(), subPath.ToLower()) / 100.0;
62
}
63
0 commit comments