diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-31 15:01:02 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-31 15:01:02 -0700 |
commit | c38a40d1930d0af2f0d078896fe02fd0bee5fabd (patch) | |
tree | 2e70a5cbdd863bde7373ffaa9972a0cd5aaa0c10 /path.cpp | |
parent | 23ba7b5bfff9393d222cd8e4a045e3439e24aba1 (diff) |
Adjust prefix completions to sort alphabetically instead of by length.
Other completions are still sorted by length.
https://github.com/fish-shell/fish-shell/issues/923
Diffstat (limited to 'path.cpp')
-rw-r--r-- | path.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -367,6 +367,7 @@ bool path_get_config(wcstring &path) return ! result.empty(); } +__attribute__((unused)) static void replace_all(wcstring &str, const wchar_t *needle, const wchar_t *replacement) { size_t needle_len = wcslen(needle); |