mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
pwd: Add newline to error message
This would keep the cursor on the same line, which is annoying.
This commit is contained in:
parent
d2225e5ce7
commit
4e2ce0af4e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ maybe_t<int> builtin_pwd(parser_t &parser, io_streams_t &streams, const wchar_t
|
|||
pwd = std::move(*real_pwd);
|
||||
} else {
|
||||
const char *error = std::strerror(errno);
|
||||
streams.err.append_format(L"%ls: realpath failed: %s", cmd, error);
|
||||
streams.err.append_format(L"%ls: realpath failed: %s\n", cmd, error);
|
||||
return STATUS_CMD_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue