mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-27 12:11:15 -03:00
Stop storing is_breakpoint inside the parser
This can also be trivially computed from the block list.
This commit is contained in:
@@ -2747,7 +2747,7 @@ static int read_i(parser_t &parser) {
|
||||
conf.autosuggest_ok = true;
|
||||
conf.expand_abbrev_ok = true;
|
||||
|
||||
if (parser.libdata().is_breakpoint && function_exists(DEBUG_PROMPT_FUNCTION_NAME, parser)) {
|
||||
if (parser.is_breakpoint() && function_exists(DEBUG_PROMPT_FUNCTION_NAME, parser)) {
|
||||
conf.left_prompt_cmd = DEBUG_PROMPT_FUNCTION_NAME;
|
||||
conf.right_prompt_cmd = wcstring{};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user