mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Remove expand_flag::skip_jobs
It was unused.
This commit is contained in:
parent
2b8d2deb0c
commit
f5f0f98991
|
@ -1139,8 +1139,8 @@ expand_result_t expand_to_command_and_args(const wcstring &instr, const operatio
|
|||
}
|
||||
|
||||
completion_list_t completions;
|
||||
expand_result_t expand_err = expand_string(
|
||||
instr, &completions, {expand_flag::skip_cmdsubst, expand_flag::skip_jobs}, ctx, errors);
|
||||
expand_result_t expand_err =
|
||||
expand_string(instr, &completions, {expand_flag::skip_cmdsubst}, ctx, errors);
|
||||
if (expand_err == expand_result_t::ok) {
|
||||
// The first completion is the command, any remaning are arguments.
|
||||
bool first = true;
|
||||
|
|
|
@ -40,8 +40,6 @@ enum class expand_flag {
|
|||
directories_only,
|
||||
/// Generate descriptions, stored in the description field of completions.
|
||||
gen_descriptions,
|
||||
/// Don't expand jobs (but still expand processes).
|
||||
skip_jobs,
|
||||
/// Don't expand home directories.
|
||||
skip_home_directories,
|
||||
/// Allow fuzzy matching.
|
||||
|
|
Loading…
Reference in New Issue
Block a user