mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
Fix formatting
This commit is contained in:
@@ -1752,15 +1752,15 @@ int expand_string(const wcstring &input, std::vector<completion_t> &output, expa
|
||||
|
||||
remove_internal_separator(next_str, (EXPAND_SKIP_WILDCARDS & flags) ? true : false);
|
||||
const wchar_t *next = next_str.c_str();
|
||||
|
||||
|
||||
const bool has_wildcard = wildcard_has(next, 1);
|
||||
|
||||
|
||||
if (has_wildcard && (flags & EXECUTABLES_ONLY))
|
||||
{
|
||||
// Don't do wildcard expansion for executables. See #785. So do nothing here.
|
||||
}
|
||||
else if (((flags & ACCEPT_INCOMPLETE) && (!(flags & EXPAND_SKIP_WILDCARDS))) ||
|
||||
has_wildcard)
|
||||
has_wildcard)
|
||||
{
|
||||
const wchar_t *start, *rest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user