diff --git a/src/internal/functions/extended.cc b/src/internal/functions/extended.cc index b78cf6d..cfd57ff 100644 --- a/src/internal/functions/extended.cc +++ b/src/internal/functions/extended.cc @@ -47,7 +47,7 @@ void Function::register_extented(BEd &ctx) { .handle = [](BEd &ctx, const buffer::Address &, vase::Shard *, const Argument &, std::vector *) { char cwd[PATH_MAX]; if (!getcwd(cwd, sizeof(cwd))) - throw ed_error("Directory changed, but couldn't determine current directory."); + throw ed_error("Can't determine current directory."); ctx.io.write_line(cwd); }, }