diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 14:06:59 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 7cf2c9947ce0a5529b15835b7e1eecb30a2e68c2 (patch) | |
| tree | 89262d1019246f4cff2cf1f5e0c80b927911a548 /src/builtins.zig | |
| parent | f8c325283fe87dd981babd2a132e58eb393924a1 (diff) | |
| download | pardes-7cf2c9947ce0a5529b15835b7e1eecb30a2e68c2.tar.gz pardes-7cf2c9947ce0a5529b15835b7e1eecb30a2e68c2.zip | |
Not-found failures say it once, in plain words: grep: pattern not found, callers not found
The ENOENT that 9ns reads from a failure's words came from a tacked-on suffix, grep: no match, not found, definition: nothing found, not found, no shell "x", not found. They now say it once: grep: pattern not found, find: name not found, Callers: callers not found, definition: not found, shell "x" not found (...).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/builtins.zig')
| -rw-r--r-- | src/builtins.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builtins.zig b/src/builtins.zig index ec6afeae..9a49df16 100644 --- a/src/builtins.zig +++ b/src/builtins.zig @@ -1384,8 +1384,8 @@ pub const Mini = struct { /// A Find or Grep that finds nothing fails as one, in words 9ns reads as /// ENOENT (`not found`), the same for both. -const e_search_miss_find = "find: no match, not found"; -const e_search_miss_grep = "grep: no match, not found"; +const e_search_miss_find = "find: name not found"; +const e_search_miss_grep = "grep: pattern not found"; /// List the files below this pane's directory whose names hold its argument, in a +Search. pub const Find = struct { |
