mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
Fix for failing to unescape history properly, resulting in a backslash explosion
This commit is contained in:
@@ -287,6 +287,9 @@ static bool extract_prefix(std::string &key, std::string &value, const std::stri
|
||||
if (val_start < line.size() && line.at(val_start) == ' ')
|
||||
val_start++;
|
||||
value = line.substr(val_start);
|
||||
|
||||
unescape_yaml(key);
|
||||
unescape_yaml(value);
|
||||
}
|
||||
return where != std::string::npos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user