mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:03:57 +08:00
Fix YAML indentation in history.
This commit is contained in:
parent
26051ea198
commit
84af3dcd18
|
@ -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 New Issue
Block a user