mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 08:41:27 +08:00
Escape less aggressively when showing completions in pager
Stop escaping [, spaces, etc. in the pager.
This commit is contained in:
parent
9b22ae7c74
commit
c0a332743f
|
@ -306,7 +306,7 @@ static comp_info_list_t process_completions_into_infos(const completion_list_t &
|
|||
comp_t *comp_info = &result.at(i);
|
||||
|
||||
// Append the single completion string. We may later merge these into multiple.
|
||||
comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_ALL | ESCAPE_NO_QUOTED));
|
||||
comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_NO_QUOTED));
|
||||
|
||||
// Append the mangled description.
|
||||
comp_info->desc = comp.description;
|
||||
|
|
Loading…
Reference in New Issue
Block a user