fish-shell/src
Aaron Gyes 6e525cc5d9 wcsfilecmp: sort - after everything else
Before this change, - was sorted with other punctuation before
A-Z. Now, it sorts above the rest of the characters.

This has a practical effect on completions, where when there are
both -s and --long with the same description, the short option
is now before the long option in the pager, which is what is now
selected when navigating `foo -<TAB>`. The long options can be
picked out with `foo --<TAB>`. Before, short options which
duplicated a long option literally could not be selected by
any means from the pager.

Fixes #5634
2019-03-16 01:31:56 -07:00
..
widecharwidth Migrate to widechar_wcwidth 2018-07-09 20:31:16 -07:00
autoload.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
autoload.h Introduce class environment_t 2019-01-10 20:29:10 -08:00
builtin_argparse.cpp builtin_argparse: use std::swap 2019-03-14 16:47:23 -07:00
builtin_argparse.h
builtin_bg.cpp Clean up job flags, status helpers, and instance helper methods 2018-10-27 18:01:38 -05:00
builtin_bg.h
builtin_bind.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
builtin_bind.h Add separation of "preset" bindings 2018-09-30 16:54:56 +02:00
builtin_block.cpp Event blocks just block all events 2019-02-23 13:02:07 -08:00
builtin_block.h
builtin_builtin.cpp Add builtin -q 2019-02-12 20:34:19 +01:00
builtin_builtin.h
builtin_cd.cpp Instantize env_get 2019-01-10 20:07:53 -08:00
builtin_cd.h
builtin_command.cpp Let command -q work 2019-02-12 20:34:19 +01:00
builtin_command.h
builtin_commandline.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
builtin_commandline.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_complete.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
builtin_complete.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.h
builtin_disown.cpp Prevent zombie processes after disowned child procs exit 2018-11-18 15:27:58 -06:00
builtin_disown.h
builtin_echo.cpp Mark a null variable const in builtin_echo 2018-10-01 09:47:45 -07:00
builtin_echo.h
builtin_emit.cpp
builtin_emit.h
builtin_exit.cpp Clean up and clarify reader_exit() 2019-02-24 13:24:03 -08:00
builtin_exit.h
builtin_fg.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_fg.h
builtin_function.cpp Cleanup events 2019-02-23 13:33:12 -08:00
builtin_function.h Functions to store nodes 2018-02-12 10:49:22 -08:00
builtin_functions.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_functions.h
builtin_history.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_history.h
builtin_jobs.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_jobs.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_math.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
builtin_math.h Implement bare minimum builtin math command 2017-08-23 14:43:45 -07:00
builtin_printf.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_printf.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_pwd.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_pwd.h
builtin_random.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_random.h
builtin_read.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_read.h
builtin_realpath.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_realpath.h
builtin_return.cpp Mark short_options as const everywhere 2018-09-29 00:18:36 -04:00
builtin_return.h
builtin_set_color.cpp Factor color and terminal sequence outputting into outputter_t 2019-02-23 20:07:29 -08:00
builtin_set_color.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_set.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_set.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_source.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_source.h
builtin_status.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_status.h
builtin_string.cpp Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
builtin_string.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_test.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_test.h
builtin_ulimit.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
builtin_ulimit.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_wait.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_wait.h add wait command 2017-11-16 10:48:21 -08:00
builtin.cpp [count] Allow counting lines from stdin 2019-03-15 14:31:36 +01:00
builtin.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
color.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
color.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
common.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
common.h Simplify valid_var_name 2019-03-14 10:29:16 -07:00
complete.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
complete.h Cleanup common.h 2019-02-03 18:22:38 -08:00
enum_set.h Add sighupint topic 2019-02-17 13:01:59 -08:00
env_universal_common.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
env_universal_common.h Remove fish_mutex_t wrapper around std::mutex 2018-12-30 20:37:36 -06:00
env.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
env.h Remove extra semicolons 2019-02-19 16:50:58 -08:00
event.cpp Fix switch nesting in handler_matches 2019-03-12 15:27:13 -07:00
event.h Cleanup events 2019-02-23 13:33:12 -08:00
exec.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
exec.h std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
expand.cpp Remove some unused variables 2019-03-15 20:21:05 -07:00
expand.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
fallback.cpp wcwidth: Return 0 for median/final jamo 2019-03-13 12:39:08 +01:00
fallback.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
fish_indent.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
fish_key_reader.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
fish_tests.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
fish_version.cpp Eliminate some mutable global variables 2018-09-29 00:20:50 -04:00
fish_version.h Revert "Generate FISH_BUILD_VERSION info for cmake builds" 2018-01-08 22:28:10 -08:00
fish.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
function.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
function.h Cleanup events 2019-02-23 13:33:12 -08:00
future_feature_flags.cpp Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
future_feature_flags.h Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
highlight.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
highlight.h Switch highlight_spec_t to a struct 2019-03-03 18:04:22 -08:00
history.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
history.h Switch some uses of env_get to instanced environment_t 2019-01-10 20:07:31 -08:00
input_common.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
input_common.h Clean up input initialization and destruction 2019-03-03 12:59:55 -08:00
input.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
input.h Clean up input initialization and destruction 2019-03-03 12:59:55 -08:00
intern.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
intern.h
io.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
io.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
iothread.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
iothread.h Introduce topic monitoring 2019-02-17 13:01:59 -08:00
kill.cpp Remove some empty code 2019-02-24 13:14:36 -08:00
kill.h Remove some empty code 2019-02-24 13:14:36 -08:00
lru.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
maybe.h Cleanup common.h 2019-02-03 18:22:38 -08:00
output.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
output.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
pager.cpp Fix 32-bit build 2019-03-13 07:44:05 -07:00
pager.h
parse_constants.h Switch tokenizer_error back to just an error code 2018-09-27 21:40:51 -04:00
parse_execution.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
parse_execution.h Teach each job about its parent 2018-11-04 01:40:07 -08:00
parse_grammar_elements.inc Rework 'and' and 'or' to be "job decorators" 2018-03-05 13:41:36 -08:00
parse_grammar.h Remove extra semicolons 2019-02-19 16:50:58 -08:00
parse_productions.cpp Bring some consistency and rationale to debug log levels 2018-10-27 18:01:38 -05:00
parse_productions.h
parse_tree.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
parse_tree.h Teach the tokenizer to report escaped newlines 2018-05-07 21:39:30 -07:00
parse_util.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
parse_util.h Teach parse_util_escape_string_with_quote about tildes 2018-02-17 15:18:43 -08:00
parser_keywords.cpp parser_keywords: Pre-create "begin" and "else" wcstrings 2018-12-01 23:03:41 +01:00
parser_keywords.h
parser.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
parser.h parser_t to become enable_shared_from_this 2019-02-24 12:12:24 -08:00
path.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
path.h Instantize env_get 2019-01-10 20:07:53 -08:00
postfork.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
postfork.h Cleanup handle_builtin_output 2019-02-17 14:17:44 -08:00
print_help.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
print_help.h
proc.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
proc.h Clean up handle_child_status 2019-03-03 11:47:32 -08:00
reader.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
reader.h Switch wait command to use topics 2019-03-02 16:58:27 -08:00
redirection.cpp Add dup2_list_t::fd_for_target_fd 2019-02-17 13:01:59 -08:00
redirection.h Add dup2_list_t::fd_for_target_fd 2019-02-17 13:01:59 -08:00
sanity.cpp Remove some empty code 2019-02-24 13:14:36 -08:00
sanity.h
screen.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
screen.h std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
signal.cpp Clean up and clarify reader_exit() 2019-02-24 13:24:03 -08:00
signal.h Remove the last of the signal blocking and checks 2019-02-23 14:07:35 -08:00
tinyexpr.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
tinyexpr.h [tinyexpr] Port to C++ 2018-12-30 19:34:06 +01:00
tnode.cpp Rework 'and' and 'or' to be "job decorators" 2018-03-05 13:41:36 -08:00
tnode.h Fix crash when nodeptr is null and node->get_source() is called 2018-09-26 21:03:55 -05:00
tokenizer.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
tokenizer.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
topic_monitor.cpp Introduce topic monitoring 2019-02-17 13:01:59 -08:00
topic_monitor.h Use "internal" processes to write buffered output 2019-02-17 13:05:20 -08:00
utf8.cpp
utf8.h
util.cpp wcsfilecmp: sort - after everything else 2019-03-16 01:31:56 -07:00
util.h Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
wcstringutil.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
wcstringutil.h Add overload of wcstringutil::trim that automatically trims whitespace 2018-10-01 17:12:18 -05:00
wgetopt.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
wgetopt.h Clean up bits of wgetopter_t interface 2018-08-25 16:09:04 -07:00
wildcard.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
wildcard.h Simplify wildcard_complete prototype 2018-10-16 15:43:42 -07:00
wutil.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
wutil.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00