diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-22 03:37:39 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-22 03:37:39 -0800 |
commit | 6c401bc58724ca046385ba7c768365fcafa43d1d (patch) | |
tree | 59889d14d4e4c8e6f809ff4966a805527b51c99f | |
parent | 35160db268b6c0b09f6fb6f9952cdab7034099bd (diff) |
Resume sorting completions from wildcard expansions
Ought to fix the wildcard expansion test on Linux
-rw-r--r-- | src/expand.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expand.cpp b/src/expand.cpp index 42b5fbad..34e861f6 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 |