mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
@@ -3583,7 +3583,7 @@ static int builtin_history(parser_t &parser, wchar_t **argv)
|
||||
if (argc == 1)
|
||||
{
|
||||
wcstring full_history;
|
||||
history->get_string_representation(full_history, wcstring(L"\n"));
|
||||
history->get_string_representation(&full_history, wcstring(L"\n"));
|
||||
stdout_buffer.append(full_history);
|
||||
stdout_buffer.push_back('\n');
|
||||
return STATUS_BUILTIN_OK;
|
||||
|
||||
Reference in New Issue
Block a user