From 2c98513a23d060093d690dbd7743dda5ad86c117 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 11:20:48 -0300 Subject: A look at a ./ or ../ name that is not there names the file, not the pane's directory Any relative name that opened nothing was blamed on the pane's directory (look: .../work/many: no such directory) though it exists; the directory is named only when it is gone. A plain name is still looked for as text, its miss logged as any look's. Co-Authored-By: Claude Opus 5.5 --- docs/fs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/fs.md b/docs/fs.md index 6fa612f5..544a9f84 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -742,7 +742,9 @@ errno that fits, EINVAL for malformed input (an unknown word, a control character, a command line over 1024 bytes, a `size` or `winsize` out of range, a bad address or event record), else EIO or the errno the words name (ENOENT for a pane, file or directory gone -- `look .` from a pane -whose directory is gone says `look: : no such directory` -- and for a +whose directory is gone says `look: : no such directory`, and a +`./zz.txt` or `../x` that is not there `look: ./zz.txt: no such file`, while a +plain `zz.txt` is looked for as text, a miss logged as any look's -- and for a Find or Grep that finds nothing, `grep: no match, not found`; Grep walks every pane's directory on this host, passing over panes of the served tree (`/virtual/`, a peer's `/n//`) and directories not there, -- cgit v1.3