Remove expand_flag::skip_jobs

It was unused.
This commit is contained in:
ridiculousfish 2020-11-29 14:01:04 -08:00
parent 2b8d2deb0c
commit f5f0f98991
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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.