From 6c401bc58724ca046385ba7c768365fcafa43d1d Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 22 Feb 2016 03:37:39 -0800 Subject: [PATCH] Resume sorting completions from wildcard expansions Ought to fix the wildcard expansion test on Linux --- src/expand.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/expand.cpp b/src/expand.cpp index 42b5fbadc..34e861f64 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -1852,6 +1852,7 @@ static expand_error_t expand_stage_wildcards(const wcstring &input, std::vector< } } + std::sort(expanded.begin(), expanded.end(), completion_t::is_naturally_less_than); out->insert(out->end(), expanded.begin(), expanded.end()); } else