pathSuggestion(line: string,cwd: string): string
What to draw after the cursor on a path line: the rest of the shortest path that continues it.
pathSuggestion and not suggest, because suggest is what this file already imports for the
OTHER kind of suggestion — the one made from names the page has and from history. Two suggests
in one function, one of them namespaced, is what this used to read as.
Empty for a line that is not a path line, so a caller can fall through to that other one.
Shortest for the same reason a name is: lib/ is what li meant far more often than the
longest thing underneath it.
import { pathSuggestion } from './completion.ts'; pathSuggestion('document.ti', process.cwd()); // '' — not a path line, so not this one's answer