mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 13:51:16 -03:00
Migrate certain runtime flags to atomics hidden behind functions
This commit is contained in:
@@ -188,7 +188,7 @@ int builtin_commandline(parser_t &parser, io_streams_t &streams, wchar_t **argv)
|
||||
}
|
||||
|
||||
if (!current_buffer) {
|
||||
if (is_interactive_session) {
|
||||
if (is_interactive_session()) {
|
||||
// Prompt change requested while we don't have a prompt, most probably while reading the
|
||||
// init files. Just ignore it.
|
||||
return STATUS_CMD_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user