mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 17:01:55 +08:00
Fix regression causing variable completions to not have description
Regressed in 17bd7d0 (Switch completion_request_options_t from a list of flags to a struct, 2022-06-07).
This commit is contained in:
parent
93ac5d0eb3
commit
acadf00718
@ -1676,7 +1676,7 @@ impl<'ctx> Completer<'ctx> {
|
||||
};
|
||||
|
||||
let mut desc = WString::new();
|
||||
if self.flags.descriptions && self.flags.autosuggestion {
|
||||
if self.flags.descriptions && !self.flags.autosuggestion {
|
||||
// $history can be huge, don't put all of it in the completion description; see
|
||||
// #6288.
|
||||
if env_name == "history" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user