mirror of
https://github.com/nushell/nushell.git
synced 2025-08-12 03:20:21 +02:00
Reverts nushell/nushell#15387 As pointed out by @132ikl in https://github.com/nushell/nushell/pull/15387#issuecomment-2764852850, #15387 had the unintended side effect of not showing all suggestions in certain cases when that wasn't desired.
This commit is contained in:
@ -98,7 +98,7 @@ fn complete_rec(
|
||||
}
|
||||
|
||||
// For https://github.com/nushell/nushell/issues/13204
|
||||
if options.match_algorithm == MatchAlgorithm::Prefix {
|
||||
if isdir && options.match_algorithm == MatchAlgorithm::Prefix {
|
||||
let exact_match = if options.case_sensitive {
|
||||
entry_name.eq(base)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user