mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Fix YAML indentation in history.
This commit is contained in:
parent
26051ea198
commit
84af3dcd18
1 changed files with 2 additions and 2 deletions
|
@ -276,11 +276,11 @@ static void append_yaml_to_buffer(const wcstring &wcmd, time_t timestamp, const
|
|||
|
||||
char timestamp_str[96];
|
||||
snprintf(timestamp_str, sizeof timestamp_str, "%ld", (long) timestamp);
|
||||
buffer->append(" when: ", timestamp_str, "\n");
|
||||
buffer->append(" when: ", timestamp_str, "\n");
|
||||
|
||||
if (! required_paths.empty())
|
||||
{
|
||||
buffer->append(" paths:\n");
|
||||
buffer->append(" paths:\n");
|
||||
|
||||
for (path_list_t::const_iterator iter = required_paths.begin(); iter != required_paths.end(); ++iter)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue